CVE-2024-54143

openwrt/asu allows build artifact poisoning via truncated SHA-256 hash and command injection

Description

openwrt/asu is an image on demand server for OpenWrt based distributions. The request hashing mechanism truncates SHA-256 hashes to only 12 characters. This significantly reduces entropy, making it feasible for an attacker to generate collisions. By exploiting this, a previously built malicious image can be served in place of a legitimate one, allowing the attacker to "poison" the artifact cache and deliver compromised images to unsuspecting users. This can be combined with other attacks, such as a command injection in Imagebuilder that allows malicious users to inject arbitrary commands into the build process, resulting in the production of malicious firmware images signed with the legitimate build key. This has been patched with 920c8a1.

Category

9.3
CVSS
Severity: Critical
CVSS 4.0 •
EPSS 2.39% Top 20%
Affected: openwrt asu
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-54143?
CVE-2024-54143 has been scored as a critical severity vulnerability.
How to fix CVE-2024-54143?
To fix CVE-2024-54143, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-54143 being actively exploited in the wild?
It is possible that CVE-2024-54143 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~2% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-54143?
CVE-2024-54143 affects openwrt asu.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.