{
  "threat_severity" : "Moderate",
  "public_date" : "2023-08-03T00:00:00Z",
  "bugzilla" : {
    "description" : "php: phar Buffer mismanagement",
    "id" : "2230101",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2230101"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.0",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-119",
  "details" : [ "In PHP version 8.0.* before 8.0.30,  8.1.* before 8.1.22, and 8.2.* before 8.2.8, when loading phar file, while reading PHAR directory entries, insufficient length checking may lead to a stack buffer overflow, leading potentially to memory corruption or RCE.", "A flaw was found in PHP that can lead to a buffer overflow and a stack information leak due to improper bounds checking within the phar_dir_read() function. This issue may allow an attacker to initiate memory corruption by compelling the application to open a specially crafted .phar archive, allowing the attacker to corrupt memory or cause a denial of service condition." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2023-10-19T00:00:00Z",
    "advisory" : "RHSA-2023:5927",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "php:8.0-8080020231006102311.0b4eb31d"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2024-12-11T00:00:00Z",
    "advisory" : "RHSA-2024:10952",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "php:7.4-8100020241113075828.f7998665"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-10-19T00:00:00Z",
    "advisory" : "RHSA-2023:5926",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "php-0:8.0.30-1.el9_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2024-01-24T00:00:00Z",
    "advisory" : "RHSA-2024:0387",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "php:8.1-9030020231221080340.9"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "php",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "php",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat OpenShift Dev Spaces",
    "fix_state" : "Not affected",
    "package_name" : "php",
    "cpe" : "cpe:/a:redhat:openshift_devspaces:3"
  }, {
    "product_name" : "Red Hat Software Collections",
    "fix_state" : "Will not fix",
    "package_name" : "rh-php73-php",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2023-3824\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-3824\nhttps://github.com/php/php-src/commit/80316123f3e9dcce8ac419bd9dd43546e2ccb5ef\nhttps://github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhv\nhttps://www.php.net/ChangeLog-8.php#8.0.30" ],
  "name" : "CVE-2023-3824",
  "csaw" : false
}