Buildroot: Download of Code Without Integrity Check
CVE-2023-45841 is a high-severity download of code without integrity check vulnerability in Buildroot, with a CVSS 3.1 base score of 8.1 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected Buildroot versions: 2023.08.1; dev commit 622698d7847. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.81% chance of exploitation within 30 days, higher than 57% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Check which version of Buildroot you run against the affected versions below, and install the vendor's latest release.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- HighSuccess depends on conditions outside the attacker's control.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.1 | High | CNA (cisco.com) |
| CVSS 3.1 | 8.1 | High | NVD |
Official description
Multiple data integrity vulnerabilities exist in the package hash checking functionality of Buildroot 2023.08.1 and Buildroot dev commit 622698d7847. A specially crafted man-in-the-middle attack can lead to arbitrary command execution in the builder.This vulnerability is related to the `versal-firmware` package.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Download of Code Without Integrity Check
The product downloads source code or an executable from a remote location and executes the code without sufficiently verifying the origin and integrity of the code.
How developers prevent this class of flaw
- Perform proper forward and reverse DNS lookups to detect DNS spoofing.
- Encrypt the code with a reliable encryption scheme before transmitting.
- Run your code using the lowest privileges that are required to accomplish the necessary tasks. If possible, create isolated accounts with limited privileges that are only used for a single task. That way, a successful attack will not immediately give the attacker access to the rest of the software or its environment. For example, database applications rarely need to run as the database administrator, especially in day-to-day operations.
More Download of Code Without Integrity Check vulnerabilities (CWE-494)
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- openwall.com/lists/oss-security/2023/12/11/1Mailing List, Third Party Advisory
Technical write-ups (may include proof of concept)
- talosintelligence.com/vulnerability_reports/TALOS-2023-1844Exploit, Third Party Advisory
Other references
Other vulnerabilities in Buildroot
- 8.1 High severity
- 8.1 High severity
- 8.1 High severity
- 8.1 High severity
- 8.1 High severity
Recent Download of Code Without Integrity Check vulnerabilities
- 9.8 Critical severity
- 9.8 Critical severity
- 7.2 High severity
- 7.8 High severity
- 7.5 High severity
- 7.4 High severity
Spotted an error? Tell us.