#VU66439 Out-of-bounds write in libsolv


Vulnerability identifier: #VU66439

Vulnerability risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-44568

CWE-ID: CWE-787

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
libsolv
Universal components / Libraries / Libraries used by multiple products

Vendor: SUSE

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when processing untrusted input within the resolve_dependencies() function at src/solver.c. A remote attacker can create a specially crafted file, trick the victim into opening it using the affected software, trigger an out-of-bounds write and crash the application.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

libsolv: 0.7.0 - 0.7.16


External links
http://github.com/yangjiageng/PoC/blob/master/libsolv-PoCs/resolve_dependencies-1940
http://github.com/yangjiageng/PoC/blob/master/libsolv-PoCs/resolve_dependencies-1995
http://github.com/openSUSE/libsolv/issues/425


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability