7.8
HIGH
CVE-2021-32142
LibRaw Buffer Overflow Privilege Escalation
Description

Buffer Overflow vulnerability in LibRaw linux/unix v0.20.0 allows attacker to escalate privileges via the LibRaw_buffer_datastream::gets(char*, int) in /src/libraw/src/libraw_datastream.cpp.

INFO

Published Date :

Feb. 17, 2023, 6:15 p.m.

Last Modified :

Nov. 7, 2023, 3:35 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2021-32142 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Libraw libraw

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-32142 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-32142 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E7TEZ7CLRNYYQZJ5NJGZXK6YJU46WH2L/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5ICTVDRGBWGIFBTUWJLGX7QM5GWBWUG7/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/5ICTVDRGBWGIFBTUWJLGX7QM5GWBWUG7/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/E7TEZ7CLRNYYQZJ5NJGZXK6YJU46WH2L/
  • CVE Modified by [email protected]

    May. 28, 2023

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2023/dsa-5412 [No Types Assigned]
  • CVE Modified by [email protected]

    May. 27, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/05/msg00025.html [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 16, 2023

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/5ICTVDRGBWGIFBTUWJLGX7QM5GWBWUG7/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/E7TEZ7CLRNYYQZJ5NJGZXK6YJU46WH2L/ [No Types Assigned]
  • Reanalysis by [email protected]

    Mar. 14, 2023

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Mar. 14, 2023

    Action Type Old Value New Value
    Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Initial Analysis by [email protected]

    Feb. 28, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/gtt1995 No Types Assigned https://github.com/gtt1995 Not Applicable
    Changed Reference Type https://github.com/LibRaw/LibRaw/commit/bc3aaf4223fdb70d52d470dae65c5a7923ea2a49 No Types Assigned https://github.com/LibRaw/LibRaw/commit/bc3aaf4223fdb70d52d470dae65c5a7923ea2a49 Patch
    Changed Reference Type https://github.com/LibRaw/LibRaw/issues/400 No Types Assigned https://github.com/LibRaw/LibRaw/issues/400 Exploit, Issue Tracking
    Changed Reference Type https://www.libraw.org/ No Types Assigned https://www.libraw.org/ Product
    Added CWE NIST CWE-787
    Added CPE Configuration OR *cpe:2.3:a:libraw:libraw:0.20.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-32142 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-32142 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.16 }} 0.03%

score

0.52724

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability