{
  "threat_severity" : "Moderate",
  "public_date" : "2023-02-17T00:00:00Z",
  "bugzilla" : {
    "description" : "LibRaw: stack buffer overflow in LibRaw_buffer_datastream::gets() in src/libraw_datastream.cpp",
    "id" : "2172004",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2172004"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.3",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L",
    "status" : "verified"
  },
  "cwe" : "CWE-121->CWE-787",
  "details" : [ "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.", "A flaw was found in the LibRaw package. A stack buffer overflow in the LibRaw_buffer_datastream::gets() function in src/libraw_datastream.cpp caused by a maliciously crafted file may result in compromised confidentiality and integrity and an application crash." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2024-01-23T00:00:00Z",
    "advisory" : "RHSA-2024:0343",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "LibRaw-0:0.19.4-2.el7_9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2024-05-22T00:00:00Z",
    "advisory" : "RHSA-2024:2994",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "LibRaw-0:0.19.5-4.el8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-11-07T00:00:00Z",
    "advisory" : "RHSA-2023:6343",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "LibRaw-0:0.20.2-6.el9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2021-32142\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-32142\nhttps://github.com/LibRaw/LibRaw/issues/400" ],
  "name" : "CVE-2021-32142",
  "csaw" : false
}