# CVE-2024-54143: openwrt/asu allows build artifact poisoning via truncated SHA-256 hash and command injection

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.84%, higher than 79% of CVEs (2026-12-01)
- Published: 2024-12-06T16:14:39.169Z
- Modified: 2026-06-17T08:09:51.087Z
- Weaknesses: CWE-328
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- openwrt asu: < 920c8a1; before 920c8a1

## References

- <https://github.com/openwrt/asu/security/advisories/GHSA-r3gq-96h6-3v7q>
- <https://github.com/openwrt/asu/commit/920c8a13d97b4d4095f0d939cf0aaae777e0f87e>

## Sources

- CVE List: [CVE-2024-54143](https://www.cve.org/CVERecord?id=CVE-2024-54143), CVE Terms of Use, modified 2024-12-06
- NVD: [CVE-2024-54143](https://nvd.nist.gov/vuln/detail/CVE-2024-54143), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-54143 · Whole record: https://cve.day/CVE-2024-54143.json · Rebuilt by cve.day 2026-11-25T22:58:49.797Z
