{"answers":{"affected":"10 open source packages ship an affected version, including zendframework/zendframework, zendframework/zendframework1 and zendframework/zendxml. It affects 1 product.","exploited":"There is no known exploitation of CVE-2015-5161 in the wild and no public exploit code.","fix":"Upgrade zendframework/zendframework to a fixed version for your release line: 1.12.14, 2.4.6 or 2.5.2.","what":"CVE-2015-5161 is a medium-severity vulnerability in n/a, published on 25 Aug 2015. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2015-5161 and fix it if it is affected.\n\nWhat it is: CVE-2015-5161 is a medium-severity vulnerability in n/a, published on 25 Aug 2015. 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-2015-5161 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- zendframework/zendframework (Packagist): affected from 1.12.0; fixed in 1.12.14\n- zendframework/zendframework (Packagist): affected from 1.12.0; fixed in 1.12.14\n- zendframework/zendframework (Packagist): affected from 2.0.0; fixed in 2.4.6\n- zendframework/zendframework (Packagist): affected from 2.0.0; fixed in 2.4.6\n- zendframework/zendframework (Packagist): affected from 2.5.0; fixed in 2.5.2\n- zendframework/zendframework (Packagist): affected from 2.5.0; fixed in 2.5.2\n- zendframework/zendframework1 (Packagist): affected from 1.12.0; fixed in 1.12.14\n- zendframework/zendframework1 (Packagist): affected from 1.12.0; fixed in 1.12.14\n- zendframework/zendxml (Packagist): affected from 1.0.0; fixed in 1.0.1\n- zendframework/zendxml (Packagist): affected from 1.0.0; fixed in 1.0.1\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-2015-5161/ (Markdown: https://insights.sbomify.com/CVE-2015-5161/index.md)","id":"CVE-2015-5161","markdown":"https://insights.sbomify.com/CVE-2015-5161/index.md","name":"CVE-2015-5161","record":{"aliases":["DLA-302-1","DSA-3340-1","GHSA-xp8p-9rq5-4wgv","MGASA-2015-0370","MGASA-2015-0371"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"PHP XML library","requires_auth":"none","summary":"Remote attackers can bypass security checks to perform XML external entity and expansion attacks via multibyte characters in specific PHP-FPM environments.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"zend_framework","vendor":"zend"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"The Zend_Xml_Security::scan in ZendXml before 1.0.1 and Zend Framework before 1.12.14, 2.x before 2.4.6, and 2.5.x before 2.5.2, when running under PHP-FPM in a threaded environment, allows remote attackers to bypass security checks and conduct XML external entity (XXE) and XML entity expansion (XEE) attacks via multibyte encoded characters.","ecosystems":["Packagist"],"exploits":{"exploitdb":2,"first_seen":"2015-08-13","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2015-08-13","kind":"exploitdb","ref":"37765","stars":null,"title":"Zend Framework 2.4.2 - PHP FPM XML eXternal Entity Injection"},{"date":"2015-10-30","kind":"exploitdb","ref":"38573","stars":null,"title":"eBay Magento 1.9.2.1 - PHP FPM XML eXternal Entity Injection"}],"tier":"poc_unverified"},"has_fix":true,"headline":"ZendXml and Zend Framework contain XXE and XEE Vulnerabilities","id":"CVE-2015-5161","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xxe","year":"2015"},"n_packages":10,"n_references":10,"next":{"headline":"OpenStack Cinder, Glance, and Nova contain Uncontrolled Resource Consumption","id":"CVE-2015-5162"},"packages":[{"ecosystem":"Packagist","fixed":["1.12.14"],"introduced":["1.12.0"],"last_affected":[],"package":"zendframework/zendframework","purl":null,"source":"GHSA-xp8p-9rq5-4wgv"},{"ecosystem":"Packagist","fixed":["1.12.14"],"introduced":["1.12.0"],"last_affected":[],"package":"zendframework/zendframework","purl":"pkg:composer/zendframework/zendframework","source":"GHSA-xp8p-9rq5-4wgv"},{"ecosystem":"Packagist","fixed":["2.4.6"],"introduced":["2.0.0"],"last_affected":[],"package":"zendframework/zendframework","purl":null,"source":"GHSA-xp8p-9rq5-4wgv"},{"ecosystem":"Packagist","fixed":["2.4.6"],"introduced":["2.0.0"],"last_affected":[],"package":"zendframework/zendframework","purl":"pkg:composer/zendframework/zendframework","source":"GHSA-xp8p-9rq5-4wgv"},{"ecosystem":"Packagist","fixed":["2.5.2"],"introduced":["2.5.0"],"last_affected":[],"package":"zendframework/zendframework","purl":null,"source":"GHSA-xp8p-9rq5-4wgv"},{"ecosystem":"Packagist","fixed":["2.5.2"],"introduced":["2.5.0"],"last_affected":[],"package":"zendframework/zendframework","purl":"pkg:composer/zendframework/zendframework","source":"GHSA-xp8p-9rq5-4wgv"},{"ecosystem":"Packagist","fixed":["1.12.14"],"introduced":["1.12.0"],"last_affected":[],"package":"zendframework/zendframework1","purl":null,"source":"GHSA-xp8p-9rq5-4wgv"},{"ecosystem":"Packagist","fixed":["1.12.14"],"introduced":["1.12.0"],"last_affected":[],"package":"zendframework/zendframework1","purl":"pkg:composer/zendframework/zendframework1","source":"GHSA-xp8p-9rq5-4wgv"},{"ecosystem":"Packagist","fixed":["1.0.1"],"introduced":["1.0.0"],"last_affected":[],"package":"zendframework/zendxml","purl":null,"source":"GHSA-xp8p-9rq5-4wgv"},{"ecosystem":"Packagist","fixed":["1.0.1"],"introduced":["1.0.0"],"last_affected":[],"package":"zendframework/zendxml","purl":"pkg:composer/zendframework/zendxml","source":"GHSA-xp8p-9rq5-4wgv"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2015-5160"},"products":["n/a"],"published":"2015-08-25","related":[{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2020-29312","kev_date_added":null,"published":"2023-04-04"},{"cvss_score":9.1,"headline":"Auth bypass in n/a","id":"CVE-2015-1555","kev_date_added":null,"published":"2017-08-07"},{"cvss_score":8.8,"headline":"Zend Framework CSRF Vulnerability","id":"CVE-2015-1786","kev_date_added":null,"published":"2017-06-08"},{"cvss_score":7.5,"headline":"Zend Framework Information Disclosure","id":"CVE-2015-7503","kev_date_added":null,"published":"2017-10-10"},{"cvss_score":7.5,"headline":"Auth bypass in n/a","id":"CVE-2014-2685","kev_date_added":null,"published":"2014-09-04"},{"cvss_score":6.8,"headline":"Several Zend Products Vulnerable to XXE and XEE attacks","id":"CVE-2014-2682","kev_date_added":null,"published":"2014-11-16"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can bypass security checks to perform XML external entity and expansion attacks via multibyte characters in specific PHP-FPM environments.","url":"https://insights.sbomify.com/CVE-2015-5161/"}