{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Low"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-1000221.json"
      }
    ],
    "title": "pkgconf: 1 byte out of bounds read for 0 length keys",
    "tracking": {
      "current_release_date": "2026-11-26T11:00:32+00:00",
      "generator": {
        "date": "2026-11-26T11:00:32+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.8"
        }
      },
      "id": "CVE-2018-1000221",
      "initial_release_date": "2018-08-24T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2018-08-24T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2019-09-29T14:57:29+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-26T11:00:32+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 8",
                "product": {
                  "name": "Red Hat Enterprise Linux 8",
                  "product_id": "red_hat_enterprise_linux_8",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:8"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 8"
          },
          {
            "category": "product_version",
            "name": "pkgconf-m4",
            "product": {
              "name": "pkgconf-m4",
              "product_id": "pkgconf-m4",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/pkgconf-m4"
              }
            }
          },
          {
            "category": "product_version",
            "name": "pkgconf.src",
            "product": {
              "name": "pkgconf.src",
              "product_id": "pkgconf.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/pkgconf?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "libpkgconf",
            "product": {
              "name": "libpkgconf",
              "product_id": "libpkgconf",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/libpkgconf"
              }
            }
          },
          {
            "category": "product_version",
            "name": "pkgconf-pkg-config",
            "product": {
              "name": "pkgconf-pkg-config",
              "product_id": "pkgconf-pkg-config",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/pkgconf-pkg-config"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libpkgconf as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:libpkgconf"
        },
        "product_reference": "libpkgconf",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "pkgconf-m4 as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:pkgconf-m4"
        },
        "product_reference": "pkgconf-m4",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "pkgconf-pkg-config as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:pkgconf-pkg-config"
        },
        "product_reference": "pkgconf-pkg-config",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "pkgconf.src as a component of Red Hat Enterprise Linux 8",
          "product_id": "red_hat_enterprise_linux_8:pkgconf.src"
        },
        "product_reference": "pkgconf.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_8"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2018-1000221",
      "cwe": {
        "id": "CWE-119",
        "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer"
      },
      "discovery_date": "2018-08-24T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_enterprise_linux_8:libpkgconf",
            "red_hat_enterprise_linux_8:pkgconf-m4",
            "red_hat_enterprise_linux_8:pkgconf-pkg-config",
            "red_hat_enterprise_linux_8:pkgconf.src"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1622242"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "pkgconf version 1.5.0 to 1.5.2 contains a Buffer Overflow vulnerability in dequote() that can result in dequote() function returns 1-byte allocation if initial length is 0, leading to buffer overflow. This attack appear to be exploitable via specially crafted .pc file. This vulnerability appears to have been fixed in 1.5.3.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "pkgconf: 1 byte out of bounds read for 0 length keys",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_not_affected": [
          "red_hat_enterprise_linux_8:libpkgconf",
          "red_hat_enterprise_linux_8:pkgconf-m4",
          "red_hat_enterprise_linux_8:pkgconf-pkg-config",
          "red_hat_enterprise_linux_8:pkgconf.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2018-1000221"
        },
        {
          "category": "external",
          "summary": "RHBZ#1622242",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1622242"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2018-1000221",
          "url": "https://www.cve.org/CVERecord?id=CVE-2018-1000221"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000221",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000221"
        }
      ],
      "release_date": "2018-08-24T00:00:00+00:00",
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "LOW",
            "baseScore": 3.3,
            "baseSeverity": "LOW",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L",
            "version": "3.0"
          },
          "products": [
            "red_hat_enterprise_linux_8:libpkgconf",
            "red_hat_enterprise_linux_8:pkgconf-m4",
            "red_hat_enterprise_linux_8:pkgconf-pkg-config",
            "red_hat_enterprise_linux_8:pkgconf.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Low",
          "product_ids": [
            "red_hat_enterprise_linux_8:libpkgconf",
            "red_hat_enterprise_linux_8:pkgconf-m4",
            "red_hat_enterprise_linux_8:pkgconf-pkg-config",
            "red_hat_enterprise_linux_8:pkgconf.src"
          ]
        }
      ],
      "title": "pkgconf: 1 byte out of bounds read for 0 length keys"
    }
  ]
}