{"answers":{"affected":"5 open source packages ship an affected version, including wordpress, phpmailer and wordpress-multisite. It affects 2 products.","exploited":"There is no known exploitation of CVE-2020-36326 in the wild and no public exploit code.","fix":"Upgrade wordpress to a fixed version for your release line: 3.7.36, 3.8.36, 3.9.34 or 4.0.33.","what":"CVE-2020-36326 is a critical unsafe deserialization vulnerability in Wordpress Wordpress, published on 28 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-36326 and fix it if it is affected.\n\nWhat it is: CVE-2020-36326 is a critical unsafe deserialization vulnerability in Wordpress Wordpress, published on 28 Apr 2021. 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-2020-36326 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- wordpress (Bitnami): affected from 3.7.0; fixed in 3.7.36, 3.8.36, 3.9.34, 4.0.33, 4.1.33, 4.2.30, 4.3.26, 4.4.25, 4.5.24, 4.6.21, 4.7.21, 4.8.17, 4.9.18, 5.0.13, 5.1.10, 5.2.11, 5.3.8, 5.4.6, 5.5.5, 5.6.4, 5.7.2\n- phpmailer (Bitnami): affected from 6.1.8; fixed in 6.4.1\n- wordpress-multisite (Bitnami): affected from 3.7.0; fixed in 3.7.36, 3.8.36, 3.9.34, 4.0.33, 4.1.33, 4.2.30, 4.3.26, 4.4.25, 4.5.24, 4.6.21, 4.7.21, 4.8.17, 4.9.18, 5.0.13, 5.1.10, 5.2.11, 5.3.8, 5.4.6, 5.5.5, 5.6.4, 5.7.2\n- phpmailer/phpmailer (Packagist): affected from 6.1.8; fixed in 6.4.1\n- phpmailer/phpmailer (Packagist): affected from 6.1.8; fixed in 6.4.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-2020-36326/ (Markdown: https://insights.sbomify.com/CVE-2020-36326/index.md)","id":"CVE-2020-36326","markdown":"https://insights.sbomify.com/CVE-2020-36326/index.md","name":"CVE-2020-36326","record":{"aliases":["BIT-phpmailer-2020-36326","BIT-wordpress-2020-36326","BIT-wordpress-multisite-2020-36326","DEBIAN-CVE-2020-36326","GHSA-m298-fh5c-jc66"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PHPMailer library","requires_auth":"none","summary":"Attacker can achieve code execution via Phar deserialization in PHPMailer when using addAttachment with a UNC pathname.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"phpmailer","vendor":"phpmailer_project"},{"product":"wordpress","vendor":"wordpress"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttachment with a UNC pathname. NOTE: this is similar to CVE-2018-19296, but arose because 6.1.8 fixed a functionality problem in which UNC pathnames were always considered unreadable by PHPMailer, even in safe contexts. As an unintended side effect, this fix eliminated the code that blocked addAttachment exploitation.","ecosystems":["Bitnami","Packagist"],"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":"Object injection in PHPMailer/PHPMailer","id":"CVE-2020-36326","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"wordpress:wordpress","products":["wordpress:wordpress"],"type":"deserialization","year":"2020"},"n_packages":5,"n_references":3,"next":{"headline":"Dependency Confusion in Bundler","id":"CVE-2020-36327"},"packages":[{"ecosystem":"Bitnami","fixed":["6.4.1"],"introduced":["6.1.8"],"last_affected":[],"package":"phpmailer","purl":"pkg:bitnami/phpmailer","source":"BIT-phpmailer-2020-36326"},{"ecosystem":"Bitnami","fixed":["3.7.36","3.8.36","3.9.34","4.0.33","4.1.33","4.2.30","4.3.26","4.4.25","4.5.24","4.6.21","4.7.21","4.8.17","4.9.18","5.0.13","5.1.10","5.2.11","5.3.8","5.4.6","5.5.5","5.6.4","5.7.2"],"introduced":["3.7.0","3.8.0","3.9.0","4.0.0","4.1.0","4.2.0","4.3.0","4.4.0","4.5.0","4.6.0","4.7.0","4.8.0","4.9.0","5.0.0","5.1.0","5.2.0","5.3.0","5.4.0","5.5.0","5.6.0","5.7.0"],"last_affected":[],"package":"wordpress","purl":"pkg:bitnami/wordpress","source":"BIT-wordpress-2020-36326"},{"ecosystem":"Bitnami","fixed":["3.7.36","3.8.36","3.9.34","4.0.33","4.1.33","4.2.30","4.3.26","4.4.25","4.5.24","4.6.21","4.7.21","4.8.17","4.9.18","5.0.13","5.1.10","5.2.11","5.3.8","5.4.6","5.5.5","5.6.4","5.7.2"],"introduced":["3.7.0","3.8.0","3.9.0","4.0.0","4.1.0","4.2.0","4.3.0","4.4.0","4.5.0","4.6.0","4.7.0","4.8.0","4.9.0","5.0.0","5.1.0","5.2.0","5.3.0","5.4.0","5.5.0","5.6.0","5.7.0"],"last_affected":[],"package":"wordpress-multisite","purl":"pkg:bitnami/wordpress-multisite","source":"BIT-wordpress-multisite-2020-36326"},{"ecosystem":"Packagist","fixed":["6.4.1"],"introduced":["6.1.8"],"last_affected":[],"package":"phpmailer/phpmailer","purl":null,"source":"GHSA-m298-fh5c-jc66"},{"ecosystem":"Packagist","fixed":["6.4.1"],"introduced":["6.1.8"],"last_affected":[],"package":"phpmailer/phpmailer","purl":"pkg:composer/phpmailer/phpmailer","source":"GHSA-m298-fh5c-jc66"}],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2020-36325"},"products":["n/a"],"published":"2021-04-28","related":[{"cvss_score":6.1,"headline":"Cross-site scripting in PHPMailer","id":"CVE-2017-11503","kev_date_added":null,"published":"2017-07-20"},{"cvss_score":5.5,"headline":"Local file disclosure in PHPMailer","id":"CVE-2017-5223","kev_date_added":null,"published":"2017-01-16"}],"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":"GitHub Advisory Database","prefix":"GHSA"},{"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-04","vendors":["n/a"]},"summary":"Attacker can achieve code execution via Phar deserialization in PHPMailer when using addAttachment with a UNC pathname.","url":"https://insights.sbomify.com/CVE-2020-36326/"}