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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.20% (percentile 68, 2026-11-28)
- **CWE:** CWE-328
- **Published:** 2024-12-06T16:14:39.169Z
- **Modified:** 2026-06-17T08:09:51.087Z

## Who should check

- Anyone running openwrt asu \< 920c8a1

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

## Affected and fixed versions

- openwrt asu: \< 920c8a1 (cvelist)

## Mitigation

- Upgrade asu to 920c8a1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-54143. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-54143.md
Affected: openwrt asu < 920c8a1
Fixed in: openwrt asu 920c8a1

Steps:
1. Search this machine and project for openwrt asu: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-54143 being exploited?

There is no confirmed exploitation: CVE-2024-54143 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.20% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-54143?

Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-54143?

openwrt asu \< 920c8a1.

### Is there a fix for CVE-2024-54143?

Yes. Fixed in openwrt asu 920c8a1. Upgrade asu to 920c8a1 or later.

### How do I check if I'm affected by CVE-2024-54143?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-54143>

HTML: <https://flawdb.com/CVE-2024-54143> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-54143>
