{
  "threat_severity" : "Moderate",
  "public_date" : "2024-12-04T00:00:00Z",
  "bugzilla" : {
    "description" : "socat: arbitrary file overwrite via predictable /tmp directory",
    "id" : "2330297",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2330297"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.3",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
    "status" : "verified"
  },
  "cwe" : "CWE-377",
  "details" : [ "readline.sh in socat before1.8.0.2 relies on the /tmp/$USER/stderr2 file.", "A flaw was found in the readline.sh script of Socat through version 1.8.0.1. This vulnerability can allow attackers to exploit improper use of a predictable temporary file." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2025-07-15T00:00:00Z",
    "advisory" : "RHSA-2025:11042",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "socat-0:1.7.4.1-2.el8_10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2025-07-07T00:00:00Z",
    "advisory" : "RHSA-2025:10353",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "socat-0:1.7.4.1-6.el9_6.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
    "release_date" : "2025-07-08T00:00:00Z",
    "advisory" : "RHSA-2025:10544",
    "cpe" : "cpe:/a:redhat:rhel_e4s:9.2",
    "package" : "socat-0:1.7.4.1-5.el9_2.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.4 Extended Update Support",
    "release_date" : "2025-07-08T00:00:00Z",
    "advisory" : "RHSA-2025:10646",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.4",
    "package" : "socat-0:1.7.4.1-5.el9_4.3"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "socat",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4",
    "fix_state" : "Fix deferred",
    "package_name" : "rhcos",
    "cpe" : "cpe:/a:redhat:openshift:4"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-54661\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-54661\nhttps://github.com/advisories/ghsa-x9w4-r3mh-39fw\nhttps://repo.or.cz/socat.git/blob/6ff391324d2d3b9f6bfb58e7d16a20be43b47af7:/readline.sh#l29" ],
  "name" : "CVE-2024-54661",
  "csaw" : false
}