CVE-2024-36127 apko Exposure of HTTP basic auth credentials in log output

High 7.5 Published Updated

Attackers can view exposed HTTP basic auth credentials in log output from the apko OCI image builder.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-36127?

CVE-2024-36127 is a high-severity vulnerability in chainguard-dev apko, published on 3 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

apko is an apk-based OCI image builder. apko exposures HTTP basic auth credentials from repository and keyring URLs in log output. This vulnerability is fixed in v0.14.5.

Weakness: CWE-532, CWE-522

Which versions are affected by CVE-2024-36127?

3 open source packages ship an affected version, including chainguard.dev/apko.

PackageAffectedFixed in
chainguard.dev/apko GoAll versions0.14.5
chainguard.dev/apko GoAll versions0.14.5
chainguard.dev/apko GoAll versions0.14.5

How do I fix CVE-2024-36127?

Upgrade chainguard.dev/apko to 0.14.5 or later.

Is CVE-2024-36127 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-36127 exists.

Sources

Also known as GHSA-v6mg-7f7p-qmqp, GO-2024-2899.

Is CVE-2024-36127 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free