{"answers":{"affected":"5 open source packages ship an affected version, including django and Django. It affects 2 products.","exploited":"There is no known exploitation of CVE-2013-1665 in the wild and no public exploit code.","fix":"Upgrade django to a fixed version for your release line: 1.3.6 or 1.4.4.","what":"CVE-2013-1665 is a medium-severity vulnerability in n/a, published on 3 Apr 2013. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2013-1665 and fix it if it is affected.\n\nWhat it is: CVE-2013-1665 is a medium-severity vulnerability in n/a, published on 3 Apr 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2013-1665 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- django (PyPI): affected from 1.3.0; fixed in 1.3.6, 1.4.4\n- django (PyPI): affected from 1.3.0; fixed in 1.3.6\n- django (PyPI): affected from 1.4.0; fixed in 1.4.4\n- Django (PyPI): affected from 1.3.0; fixed in 1.3.6\n- Django (PyPI): affected from 1.4.0; fixed in 1.4.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2013-1665/ (Markdown: https://insights.sbomify.com/CVE-2013-1665/index.md)","id":"CVE-2013-1665","markdown":"https://insights.sbomify.com/CVE-2013-1665/index.md","name":"CVE-2013-1665","record":{"aliases":["DEBIAN-CVE-2013-1665","GHSA-x64m-686f-fmm3","PYSEC-2026-802"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Python XML library","requires_auth":"none","summary":"Remote attackers can read arbitrary files via XML External Entity attacks in Python XML libraries, affecting applications like OpenStack and Django.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"folsom","vendor":"openstack"},{"product":"keystone_essex","vendor":"openstack"}],"cvss":{"score":5,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","version":"2.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"The XML libraries for Python 3.4, 3.3, 3.2, 3.1, 2.7, and 2.6, as used in OpenStack Keystone Essex and Folsom, Django, and possibly other products allow remote attackers to read arbitrary files via an XML external entity declaration in conjunction with an entity reference, aka an XML External Entity (XXE) attack.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"XML External Entity (XXE) in Django","id":"CVE-2013-1665","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xxe","year":"2013"},"n_packages":5,"n_references":11,"next":{"headline":"Code injection in n/a","id":"CVE-2013-1666"},"packages":[{"ecosystem":"PyPI","fixed":["1.3.6"],"introduced":["1.3.0"],"last_affected":[],"package":"Django","purl":null,"source":"GHSA-x64m-686f-fmm3"},{"ecosystem":"PyPI","fixed":["1.4.4"],"introduced":["1.4.0"],"last_affected":[],"package":"Django","purl":null,"source":"GHSA-x64m-686f-fmm3"},{"ecosystem":"PyPI","fixed":["1.3.6","1.4.4"],"introduced":["1.3.0","1.4.0"],"last_affected":[],"package":"django","purl":"pkg:pypi/django","source":"PYSEC-2026-802"},{"ecosystem":"PyPI","fixed":["1.3.6"],"introduced":["1.3.0"],"last_affected":[],"package":"django","purl":"pkg:pypi/django","source":"GHSA-x64m-686f-fmm3"},{"ecosystem":"PyPI","fixed":["1.4.4"],"introduced":["1.4.0"],"last_affected":[],"package":"django","purl":"pkg:pypi/django","source":"GHSA-x64m-686f-fmm3"}],"prev":{"headline":"XML Entity Expansion (XEE) in Django","id":"CVE-2013-1664"},"products":["n/a"],"published":"2013-04-03","related":[{"cvss_score":7.5,"headline":"OpenStack Swift Unchecked user input in XML responses","id":"CVE-2013-2161","kev_date_added":null,"published":"2013-08-20"},{"cvss_score":6.4,"headline":"OpenStack Compute Nova Improper Access Control","id":"CVE-2013-4497","kev_date_added":null,"published":"2013-11-05"},{"cvss_score":4.9,"headline":"Arbitrary file overwrite in OpenStack Nova","id":"CVE-2012-3447","kev_date_added":null,"published":"2012-08-20"},{"cvss_score":4.3,"headline":"OpenStack Nova Information leak in libvirt LVM-backed instances","id":"CVE-2012-5625","kev_date_added":null,"published":"2012-12-26"},{"cvss_score":4,"headline":"OpenStack Swift allows authenticated users to cause a denial of service","id":"CVE-2013-4155","kev_date_added":null,"published":"2013-08-20"},{"cvss_score":4,"headline":"OpenStack Keystone Insufficient token expiration","id":"CVE-2012-5563","kev_date_added":null,"published":"2012-12-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can read arbitrary files via XML External Entity attacks in Python XML libraries, affecting applications like OpenStack and Django.","url":"https://insights.sbomify.com/CVE-2013-1665/"}