CVE-2022-35206

Publication date 22 August 2023

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

5.5 · Medium

Score breakdown

Null pointer dereference vulnerability in Binutils readelf 2.38.50 via function read_and_display_attr_value in file dwarf.c.

Read the notes from the security team

Status

Package Ubuntu Release Status
binutils 23.10 mantic
Not affected
23.04 lunar
Not affected
22.04 LTS jammy
Not affected
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected

Notes


seth-arnold

binutils isn't safe for untrusted inputs.


ccdm94

according to the patch referenced in the issue, the dereference happens when the 'debug_info_p' variable is referenced but not set in a 'fetch_indexed_string' call, in 'read_and_display_attr_value'. In bionic and earlier, these specific calls (referenced in the patch) are not made sending 'debug_info_p' as an argument.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
binutils

Severity score breakdown

Parameter Value
Base score 5.5 · Medium
Attack vector Local
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H