{"schemaVersion":3,"id":"CVE-2023-27476","aliases":["MGASA-2023-0112","GHSA-8h9c-r582-mggc","PYSEC-2023-86","UBUNTU-CVE-2023-27476","DEBIAN-CVE-2023-27476","DLA-3470-1","DSA-5426-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-03-07T23:20:32.878Z","modified":"2025-02-25T15:00:10.207Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.8,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L","exploitability":10,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00977,"percentile":0.61542,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.008000000000000021,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00985},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00977,"percentile":0.61542}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00985,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00977,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00977,"percentile":0.61542}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference","description":"The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/611.html"}],"affected":[{"vendor":"debian","product":"owslib","name":"owslib","label":"owslib","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/owslib","purlType":"deb","versions":[{"text":"< 0.27.2-3","noFixRecorded":false,"fixedIn":null},{"text":"< 0.23.0-1+deb11u1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.17.1-1+deb10u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.27.2-3 | < 0.23.0-1+deb11u1 | < 0.17.1-1+deb10u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"owslib","name":"owslib","label":"owslib","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/owslib","purlType":"deb","versions":[{"text":"< 0.16.0-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.19.1-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.25.0-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.16.0-1ubuntu0.1~esm1 | < 0.19.1-1ubuntu0.1~esm1 | < 0.25.0-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"geopython","product":"owslib","name":"OWSLib","label":"owslib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.28.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.28.1","eol":null,"hubHref":"/vendor/geopython/owslib"},{"vendor":"mageia","product":"python-owslib","name":"python-owslib","label":"python-owslib","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/python-owslib","purlType":"rpm","versions":[{"text":"< 0.28.1-1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.28.1-1.mga8","eol":null,"hubHref":null},{"vendor":"osgeo","product":"owslib","name":"owslib","label":"owslib","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.28.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.28.1","eol":null,"hubHref":"/vendor/osgeo/owslib"},{"vendor":"PyPI","product":"owslib","name":"owslib","label":"owslib","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/owslib","purlType":"pypi","versions":[{"text":"< b92687702be9576c0681bb11cad21eb631b9122f","noFixRecorded":false,"fixedIn":null},{"text":"< 0.28.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< b92687702be9576c0681bb11cad21eb631b9122f | < 0.28.1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc","label":"github.com/geopython/OWSLib/security/advisories/GHSA-8h9c-r582-mggc","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","REPORT","Vendor Advisory"]},{"url":"https://github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f","label":"github.com/geopython/OWSLib/pull/863/commits/b92687702be9576c0681bb11cad21eb631b9122f","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","REPORT","Patch"]},{"url":"https://securitylab.github.com/advisories/GHSL-2022-131_owslib/","label":"securitylab.github.com/advisories/GHSL-2022-131_owslib/","hostname":"securitylab.github.com","tags":["X Refsource MISC","Advisory","REPORT","Broken Link"]},{"url":"https://www.debian.org/security/2023/dsa-5426","label":"www.debian.org/security/2023/dsa-5426","hostname":"www.debian.org","tags":["WEB","Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00032.html","label":"lists.debian.org/debian-lts-announce/2023/06/msg00032.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://advisories.mageia.org/MGASA-2023-0112.html","label":"advisories.mageia.org/MGASA-2023-0112.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=31667","label":"bugs.mageia.org/show_bug.cgi?id=31667","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/PYNYFUUI2JO56U35RT7DTZDQDCNCDAMH/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-27476","label":"nvd.nist.gov/vuln/detail/CVE-2023-27476","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/geopython/OWSLib/pull/863","label":"github.com/geopython/OWSLib/pull/863","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/geopython/OWSLib","label":"github.com/geopython/OWSLib","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/geopython/OWSLib/releases/tag/0.28.1","label":"github.com/geopython/OWSLib/releases/tag/0.28.1","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/owslib/PYSEC-2023-86.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/owslib/PYSEC-2023-86.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://securitylab.github.com/advisories/GHSL-2022-131_owslib","label":"securitylab.github.com/advisories/GHSL-2022-131_owslib","hostname":"securitylab.github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-27476","label":"ubuntu.com/security/CVE-2023-27476","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-27476","label":"www.cve.org/CVERecord?id=CVE-2023-27476","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8247-1","label":"ubuntu.com/security/notices/USN-8247-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-27476","label":"security-tracker.debian.org/tracker/CVE-2023-27476","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["USN-8247-1"]},"timeline":[{"kind":"published","date":"2023-03-07T23:20:32.878Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-25T15:00:10.207Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:14:25.366Z","stale":false,"partial":false}}