> CVE-2026-105768 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-10-05 21:16
MODIFIED
2026-10-05 21:16
CVSS_SCORE V3
6.3
EPSS (Prob. Exploit)
0.30%
Top 78.6%
DATA SOURCES:
NVD đź”— 2026-10-05 FIRST EPSS đź”— 2026-10-19 OSV đź”— 2026-10-12

> DESCRIPTION

apko allows users to build and publish OCI container images built from apk packages. From version 0.2.0 to before version 1.4.5, UserEntry.Parse and GroupEntry.Parse in pkg/passwd read the UID and GID fields of /etc/passwd and /etc/group entries with strconv.Atoi and convert them to uint32 without a range check. On 64-bit platforms an out-of-range value such as 4294967296 (2^32) is truncated to 0, and negative values wrap. Because apko parses the passwd and group entries supplied by the packages it installs and writes them back into the image, an attacker who controls a package installed into the image can ship an entry that appears to declare an unprivileged UID or GID but is written into the built image as UID 0 or GID 0 (root). The truncated UID is also used when resolving the image's run-as user. This issue has been fixed in version 1.4.5.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-197

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

apko /etc/passwd and /etc/group UID/GID truncation writes package-supplied entries as root

AFFECTED PACKAGES:
Unknown / Unknown
208 versions affected
ALIASES:
GHSA-rj6x-hwpv-vhvf

> HISTORIQUE DES MODIFICATIONS

Première apparition
05/10/2026 21:16
Source: NVD
Total des modifications: 0 Dernière mise à jour: 2 weeks ago

> REFERENCES

https://github.com/chainguard-dev/apko/commit/739e7ce3f675ffb232e16849b51ff93657...
https://github.com/chainguard-dev/apko/pull/2516
https://github.com/chainguard-dev/apko/releases/tag/v1.4.5
https://github.com/chainguard-dev/apko/security/advisories/GHSA-rj6x-hwpv-vhvf
« BACK_TO_HOME