Vulnerability record · OpenEuler 24.03-LTS-SP3
An update for libsolv is now available for openEuler-24.03-LTS-SP3
OpenEuler 24.03-LTS-SP3
What it fixes
Synopsis:
libsolv security updateSummary:
An update for libsolv is now available for openEuler-24.03-LTS-SP3Description:
A free package dependency solver using a satisfiability algorithm. The library is based on two major, but independent, blocks:
[Security] Heap Buffer Overflow in repo_add_solv via Negative maxsize
Summary: Heap buffer overflow in repo_add_solv when parsing attacker-controlled .solv files; large encoded maxsize/allsize header values can decode to negative signed Id values, leading to undersized heap allocation while a subsequent fread uses DATA_READ_CHUNK (8192) bytes.
Requirements to exploit: Ability to supply a crafted .solv file that a victim processes with libsolv (directly or via a consumer such as dumpsolv or an application that calls repo_add_solv on untrusted input).
Component affected: libsolv
Version affected: <= 0.7.36
Version fixed (if any already): >= TBD
CVSS: 6.5 (Medium) — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Impact: Moderate (proposed). Per https://access.redhat.com/security/updates/classification this is memory corruption reachable via untrusted .solv ingestion and can at least cause a denial of service; it is not clearly "High" because an attacker typically needs the victim to process attacker-controlled input (configuration/user action) and reliable system compromise is not demonstrated here. This may be "Low" instead in product contexts where the vulnerable path is not used by default, is only reachable via uncommon workflows, or is effectively mitigated (e.g., only trusted solvdb is processed).
Embargo: no
Acknowledgement: Aisle Research
Steps to reproduce if available: See "Reproduction steps" below.
Mitigation if available: Prefer only consuming trusted .solv / solvdb inputs; avoid parsing untrusted .solv files until patched.
Original report:
Hello libsolv maintainers,
We believe that we have discovered a potential…
Manual fix · OpenEuler 24.03-LTS-SP3
sudo dnf upgrade libsolv libsolv-demo libsolv-devel libsolv-help libsolv-tools perl-solv …rpm -q libsolv libsolv-demo libsolv-devel libsolv-help libsolv-tools perl-solv …Sources