CVE-2023-28424
CRITICALDescription
Soko if the code that powers packages.gentoo.org. Prior to version 1.0.2, the two package search handlers, `Search` and `SearchFeed`, implemented in `pkg/app/handler/packages/search.go`, are affected by a SQL injection via the `q` parameter. As a result, unauthenticated attackers can execute arbitrary SQL queries on `https://packages.gentoo.org/`. It was also demonstrated that primitive was enough to gain code execution in the context of the PostgreSQL container. The issue was addressed in commit `4fa6e4b619c0362728955b6ec56eab0e0cbf1e23y` of version 1.0.2 using prepared statements to interpolate user-controlled data in SQL queries.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 63% of all known CVEs.
References
Related Vulnerabilities
Other CWE-89 (SQL Injection) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2014-3704 | High | 7.5 | 100% | - | Fix |
| CVE-2015-7297 | High | 7.5 | 100% | - | - |
| CVE-2024-29824 | High | 8.8 | 100% | KEV | Fix |
| CVE-2023-34362 | Critical | 9.8 | 100% | KEV + Ransom | Fix |
| CVE-2019-7481 | High | 7.5 | 100% | KEV + Ransom | Fix |
| CVE-2024-29826 | High | 8.8 | 100% | - | Fix |
Embed a live status badge for CVE-2023-28424
Markdown
[](https://tridentstack.com/cve/CVE-2023-28424)HTML
<a href="https://tridentstack.com/cve/CVE-2023-28424"><img src="https://tridentstack.com/cve/badge/CVE-2023-28424.svg" alt="CVE-2023-28424"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-04-11.