{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-27476",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-03-01T19:03:56.632Z",
        "datePublished": "2023-03-07T23:20:32.878Z",
        "dateUpdated": "2024-08-02T12:09:43.480Z"
    },
    "containers": {
        "cna": {
            "title": "XML External Entity (XXE) Injection in OWSLib",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-611",
                            "lang": "en",
                            "description": "CWE-611: Improper Restriction of XML External Entity Reference",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 8.2,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc"
                },
                {
                    "name": "https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f"
                },
                {
                    "name": "https://securitylab.github.com/advisories/GHSL-2022-131_owslib/",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://securitylab.github.com/advisories/GHSL-2022-131_owslib/"
                },
                {
                    "url": "https://www.debian.org/security/2023/dsa-5426"
                },
                {
                    "url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00032.html"
                }
            ],
            "affected": [
                {
                    "vendor": "geopython",
                    "product": "OWSLib",
                    "versions": [
                        {
                            "version": "< 0.28.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-03-07T23:20:32.878Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service interface standards, and their related content models. OWSLib's XML parser (which supports both `lxml` and `xml.etree`) does not disable entity resolution, and could lead to arbitrary file reads from an attacker-controlled XML payload. This affects all XML parsing in the codebase. This issue has been addressed in version 0.28.1. All users are advised to upgrade. The only known workaround is to patch the library manually. See `GHSA-8h9c-r582-mggc` for details."
                }
            ],
            "source": {
                "advisory": "GHSA-8h9c-r582-mggc",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T12:09:43.480Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc"
                    },
                    {
                        "name": "https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f"
                    },
                    {
                        "name": "https://securitylab.github.com/advisories/GHSL-2022-131_owslib/",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://securitylab.github.com/advisories/GHSL-2022-131_owslib/"
                    },
                    {
                        "url": "https://www.debian.org/security/2023/dsa-5426",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00032.html",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}