{"api_version":"1","generated_at":"2026-04-22T22:50:34+00:00","cve":"CVE-2023-27476","urls":{"html":"https://cve.report/CVE-2023-27476","api":"https://cve.report/api/cve/CVE-2023-27476.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-27476","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-27476"},"summary":{"title":"CVE-2023-27476","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-03-08 00:15:00","updated_at":"2023-06-25 21:15:00"},"problem_types":["CWE-611"],"metrics":[],"references":[{"url":"https://www.debian.org/security/2023/dsa-5426","name":"https://www.debian.org/security/2023/dsa-5426","refsource":"MISC","tags":[],"title":"Debian -- Security Information -- DSA-5426-1 owslib","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f","name":"https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f","refsource":"MISC","tags":[],"title":"use only lxml for XML handling by tomkralidis · Pull Request #863 · geopython/OWSLib · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc","name":"https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc","refsource":"MISC","tags":[],"title":"XML External Entity (XXE) Injection in OWSLib · Advisory · geopython/OWSLib · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00032.html","name":"https://lists.debian.org/debian-lts-announce/2023/06/msg00032.html","refsource":"MISC","tags":[],"title":"[SECURITY] [DLA 3470-1] owslib security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://securitylab.github.com/advisories/GHSL-2022-131_owslib/","name":"https://securitylab.github.com/advisories/GHSL-2022-131_owslib/","refsource":"MISC","tags":[],"title":"GitHub Security Lab | Securing the world’s software, together","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-27476","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-27476","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"27476","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"osgeo","cpe5":"owslib","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-27476","qid":"181868","title":"Debian Security Update for owslib (DSA 5426-1)"},{"cve":"CVE-2023-27476","qid":"183267","title":"Debian Security Update for owslib (CVE-2023-27476)"},{"cve":"CVE-2023-27476","qid":"283798","title":"Fedora Security Update for mingw (FEDORA-2023-ae06b3704c)"},{"cve":"CVE-2023-27476","qid":"283799","title":"Fedora Security Update for mingw (FEDORA-2023-8312a80917)"},{"cve":"CVE-2023-27476","qid":"284250","title":"Fedora Security Update for mingw (FEDORA-2023-9a878398a6)"},{"cve":"CVE-2023-27476","qid":"6000155","title":"Debian Security Update for owslib (DLA 3470-1)"},{"cve":"CVE-2023-27476","qid":"691119","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for py39 (e5d117b3-2153-4129-81ed-42b0221afa78)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-27476","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-611: Improper Restriction of XML External Entity Reference","cweId":"CWE-611"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"geopython","product":{"product_data":[{"product_name":"OWSLib","version":{"version_data":[{"version_affected":"=","version_value":"< 0.28.1"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc","refsource":"MISC","name":"https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc"},{"url":"https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f","refsource":"MISC","name":"https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f"},{"url":"https://securitylab.github.com/advisories/GHSL-2022-131_owslib/","refsource":"MISC","name":"https://securitylab.github.com/advisories/GHSL-2022-131_owslib/"},{"url":"https://www.debian.org/security/2023/dsa-5426","refsource":"MISC","name":"https://www.debian.org/security/2023/dsa-5426"},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00032.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2023/06/msg00032.html"}]},"source":{"advisory":"GHSA-8h9c-r582-mggc","discovery":"UNKNOWN"},"impact":{"cvss":[{"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"}]}},"nvd":{"publishedDate":"2023-03-08 00:15:00","lastModifiedDate":"2023-06-25 21:15:00","problem_types":["CWE-611"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:osgeo:owslib:*:*:*:*:*:*:*:*","versionEndExcluding":"0.28.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}