Read the docs
TI-2023-12969 Aliases CVE-2023-28424

Soko SQL Injection vulnerability

Priority MEDIUM 50CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-89.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0115 67th percentileScored 2026-11-07
Fix Fixed soko (gentoo): 1.0.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gentoosokobefore 1.0.21.0.2Patch availableCNA
  • soko Vendorgentoo Affected before 1.0.2 Fixed in 1.0.2 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gentoo:soko:*:*:*:*:*:*:*:*before 1.0.2Vulnerablegentoo
  • cpe:2.3:a:gentoo:soko:*:*:*:*:*:*:*:* Versions before 1.0.2 Vulnerable ·gentoo

Remediation

  • Fix · CNA soko (gentoo) Fixed in 1.0.2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-28424

References

  • TI-2023-11267 Gentoo soko contains DoS attack based on SQL Injection CVSS 3.1CRITICAL 9.1

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences