{"answers":{"affected":"3 open source packages ship an affected version, including libphp, php and php-min. It affects 7 products.","exploited":"There is no known exploitation of CVE-2020-7070 in the wild and no public exploit code.","fix":"Upgrade libphp to a fixed version for your release line: 7.2.34, 7.3.23 or 7.4.11.","what":"CVE-2020-7070 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 2 Oct 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-7070 and fix it if it is affected.\n\nWhat it is: CVE-2020-7070 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 2 Oct 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-7070 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- libphp (Bitnami): affected from 7.2.0; fixed in 7.2.34, 7.3.23, 7.4.11\n- php (Bitnami): affected from 7.2.0; fixed in 7.2.34, 7.3.23, 7.4.11\n- php-min (Bitnami): affected from 7.2.0; fixed in 7.2.34, 7.3.23, 7.4.11\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-2020-7070/ (Markdown: https://insights.sbomify.com/CVE-2020-7070/index.md)","id":"CVE-2020-7070","markdown":"https://insights.sbomify.com/CVE-2020-7070/index.md","name":"CVE-2020-7070","record":{"aliases":["BIT-libphp-2020-7070","BIT-php-2020-7070","BIT-php-min-2020-7070","DEBIAN-CVE-2020-7070","DLA-2397-1","GHSA-j7r5-hm2w-qqf9","MGASA-2020-0387","SUSE-SU-2020:14516-1","SUSE-SU-2020:2894-1","SUSE-SU-2020:2920-1","UBUNTU-CVE-2020-7070"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP server","requires_auth":"none","summary":"Attackers can forge secure cookies by exploiting URL decoding of cookie names, bypassing __Host- prefix protections in PHP.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"php","cpe":[{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"clustered_data_ontap","vendor":"netapp"},{"product":"leap","vendor":"opensuse"},{"product":"php","vendor":"php"},{"product":"tenable.sc","vendor":"tenable"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-565","name":"Reliance on Cookies without Validation and Integrity Checking"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like __Host confused with cookies that decode to such prefix, thus leading to an attacker being able to forge cookie which is supposed to be secure. See also CVE-2020-8184 for more information.","ecosystems":["Bitnami","SUSE:Linux Enterprise Module for Web and Scripting 12","SUSE:Linux Enterprise Point of Sale 11 SP3","SUSE:Linux Enterprise Server 11 SP4-LTSS","SUSE:Linux Enterprise Software Development Kit 12 SP5"],"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":"PHP parses encoded cookie names so malicious `__Host-` cookies can be sent","id":"CVE-2020-7070","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux","fedoraproject:fedora","netapp:clustered_data_ontap","opensuse:leap","php:php"],"type":"security_feature_bypass","year":"2020"},"n_packages":8,"n_references":15,"next":{"headline":"FILTER_VALIDATE_URL accepts URLs with invalid userinfo","id":"CVE-2020-7071"},"packages":[{"ecosystem":"Bitnami","fixed":["7.2.34","7.3.23","7.4.11"],"introduced":["7.2.0","7.3.0","7.4.0"],"last_affected":[],"package":"libphp","purl":"pkg:bitnami/libphp","source":"BIT-libphp-2020-7070"},{"ecosystem":"Bitnami","fixed":["7.2.34","7.3.23","7.4.11"],"introduced":["7.2.0","7.3.0","7.4.0"],"last_affected":[],"package":"php","purl":"pkg:bitnami/php","source":"BIT-php-2020-7070"},{"ecosystem":"Bitnami","fixed":["7.2.34","7.3.23","7.4.11"],"introduced":["7.2.0","7.3.0","7.4.0"],"last_affected":[],"package":"php-min","purl":"pkg:bitnami/php-min","source":"BIT-php-min-2020-7070"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 12","fixed":["5.5.14-109.82.1"],"introduced":["0"],"last_affected":[],"package":"php5","purl":"pkg:rpm/suse/php5\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2012","source":"SUSE-SU-2020:2894-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Web and Scripting 12","fixed":["7.0.7-50.102.1"],"introduced":["0"],"last_affected":[],"package":"php7","purl":"pkg:rpm/suse/php7\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2012","source":"SUSE-SU-2020:2920-1"},{"ecosystem":"SUSE:Linux Enterprise Point of Sale 11 SP3","fixed":["5.3.17-112.93.1"],"introduced":["0"],"last_affected":[],"package":"php53","purl":"pkg:rpm/suse/php53\u0026distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3","source":"SUSE-SU-2020:14516-1"},{"ecosystem":"SUSE:Linux Enterprise Server 11 SP4-LTSS","fixed":["5.3.17-112.93.1"],"introduced":["0"],"last_affected":[],"package":"php53","purl":"pkg:rpm/suse/php53\u0026distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-LTSS","source":"SUSE-SU-2020:14516-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["7.0.7-50.102.1"],"introduced":["0"],"last_affected":[],"package":"php7","purl":"pkg:rpm/suse/php7\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2020:2920-1"}],"prev":{"headline":"Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV","id":"CVE-2020-7069"},"products":["PHP"],"published":"2020-10-02","related":[{"cvss_score":9.8,"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651","kev_date_added":"2021-11-03","published":"2020-04-30"},{"cvss_score":9.8,"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247","kev_date_added":"2022-03-25","published":"2020-01-29"},{"cvss_score":9.8,"headline":"Exim Out-of-bounds Write","id":"CVE-2019-16928","kev_date_added":"2022-03-03","published":"2019-09-27"},{"cvss_score":9.8,"headline":"Exim Buffer Overflow","id":"CVE-2018-6789","kev_date_added":"2021-11-03","published":"2018-02-08"},{"cvss_score":9.8,"headline":"Oracle Java SE and Java SE Embedded Remote Code Execution","id":"CVE-2015-2590","kev_date_added":"2022-03-03","published":"2015-07-16"},{"cvss_score":9.8,"headline":"Oracle JRE Remote Code Execution","id":"CVE-2013-0422","kev_date_added":"2022-05-25","published":"2013-01-10"},{"cvss_score":9.8,"headline":"Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution","id":"CVE-2011-3544","kev_date_added":"2022-03-03","published":"2011-10-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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-09-16","vendors":["PHP Group"]},"summary":"Attackers can forge secure cookies by exploiting URL decoding of cookie names, bypassing __Host- prefix protections in PHP.","url":"https://insights.sbomify.com/CVE-2020-7070/"}