{"id":"GHSA-chqf-hx79-gxc6","summary":"Improper Restriction of XML External Entity Reference in Openpyxl","details":"Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.","aliases":["CVE-2017-5992","PYSEC-2017-48"],"modified":"2024-10-07T21:35:38.976036Z","published":"2022-05-17T02:58:54Z","database_specific":{"nvd_published_at":"2017-02-15T19:59:00Z","cwe_ids":["CWE-611"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-07-01T11:49:57Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5992"},{"type":"WEB","url":"https://bitbucket.org/openpyxl/openpyxl/commits/3b4905f428e1"},{"type":"WEB","url":"https://bitbucket.org/openpyxl/openpyxl/issues/749"},{"type":"WEB","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854442"},{"type":"PACKAGE","url":"https://foss.heptapod.net/openpyxl/openpyxl"},{"type":"WEB","url":"https://foss.heptapod.net/openpyxl/openpyxl/-/commit/7fe678fd89fd"},{"type":"WEB","url":"https://foss.heptapod.net/openpyxl/openpyxl/-/issues/749"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-chqf-hx79-gxc6"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/openpyxl/PYSEC-2017-48.yaml"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2017/02/07/5"}],"affected":[{"package":{"name":"openpyxl","ecosystem":"PyPI","purl":"pkg:pypi/openpyxl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.2"}]}],"versions":["1.1.0","1.1.5","1.1.6","1.1.7","1.2.3","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.5.7","1.5.8","1.6.1","1.6.2","1.7.0","1.8.0","1.8.1","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","2.0.2","2.0.3","2.0.4","2.0.5","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.4.0","2.4.1"],"database_specific":{"last_known_affected_version_range":"\u003c= 2.4.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-chqf-hx79-gxc6/GHSA-chqf-hx79-gxc6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:H"}]}