Skip to content

LIEF contains segmentation violation

Moderate severity GitHub Reviewed Published Sep 14, 2022 to the GitHub Advisory Database • Updated Aug 17, 2023

Package

pip lief (pip)

Affected versions

>= 0, < 0.12.1

Patched versions

0.12.1

Description

LIEF commit 5d1d643 was discovered to contain a segmentation violation via the function LIEF::MachO::SegmentCommand::file_offset() at /MachO/SegmentCommand.cpp. Commit 7acf0bc4224081d4f425fcc8b2e361b95291d878 contains a patch.

References

Published by the National Vulnerability Database Sep 13, 2022
Published to the GitHub Advisory Database Sep 14, 2022
Reviewed Sep 20, 2022
Last updated Aug 17, 2023

Severity

Moderate
5.5
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2022-38307

GHSA ID

GHSA-x2xx-jw5m-5j86

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.