{"answers":{"affected":"21 open source packages ship an affected version, including typo3/cms-form, typo3 and typo3/cms. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-21355 in the wild and no public exploit code.","fix":"Upgrade typo3/cms-form to a fixed version for your release line: 10.4.14, 11.1.1, 8.7.40 or 9.5.25.","what":"CVE-2021-21355 is a high-severity vulnerability in Typo3 Typo3, published on 23 Mar 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-2021-21355 and fix it if it is affected.\n\nWhat it is: CVE-2021-21355 is a high-severity vulnerability in Typo3 Typo3, published on 23 Mar 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-2021-21355 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- typo3/cms-form (Packagist): affected from 10.0.0; fixed in 10.4.14\n- typo3/cms-form (Packagist): affected from 10.0.0; fixed in 10.4.14\n- typo3/cms-form (Packagist): affected from 11.0.0; fixed in 11.1.1\n- typo3/cms-form (Packagist): affected from 11.0.0; fixed in 11.1.1\n- typo3/cms-form (Packagist): affected from 8.0.0; fixed in 8.7.40\n- typo3/cms-form (Packagist): affected from 8.0.0; fixed in 8.7.40\n- typo3/cms-form (Packagist): affected from 9.0.0; fixed in 9.5.25\n- typo3/cms-form (Packagist): affected from 9.0.0; fixed in 9.5.25\n- typo3 (Bitnami): affected from 8.0.0; fixed in 8.7.40, 9.5.25, 10.4.14, 11.1.1\n- typo3/cms (Packagist): affected from 10.0.0; fixed in 10.4.14\n- typo3/cms (Packagist): affected from 10.0.0; fixed in 10.4.14\n- typo3/cms (Packagist): affected from 11.0.0; fixed in 11.1.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-2021-21355/ (Markdown: https://insights.sbomify.com/CVE-2021-21355/index.md)","id":"CVE-2021-21355","markdown":"https://insights.sbomify.com/CVE-2021-21355/index.md","name":"CVE-2021-21355","record":{"aliases":["BIT-typo3-2021-21355","GHSA-2r6j-862c-m2v2"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"TYPO3 CMS","requires_auth":"none","summary":"Attackers can upload arbitrary files to TYPO3 via the Form Framework, potentially leading to code execution or information disclosure without authentication.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"typo3","vendor":"typo3"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"TYPO3 is an open source PHP based web content management system. In TYPO3 before versions 8.7.40, 9.5.25, 10.4.14, 11.1.1, due to the lack of ensuring file extensions belong to configured allowed mime-types, attackers can upload arbitrary data with arbitrary file extensions - however, default _fileDenyPattern_ successfully blocked files like _.htaccess_ or _malicious.php_. Besides that, _UploadedFileReferenceConverter_ transforming uploaded files into proper FileReference domain model objects handles possible file uploads for other extensions as well - given those extensions use the Extbase MVC framework, make use of FileReference items in their direct or inherited domain model definitions and did not implement their own type converter. In case this scenario applies, _UploadedFileReferenceConverter_ accepts any file mime-type and persists files in the default location. In any way, uploaded files are placed in the default location _/fileadmin/user_upload/_, in most scenarios keeping the submitted filename - which allows attackers to directly reference files, or even correctly guess filenames used by other individuals, disclosing this information. No authentication is required to exploit this vulnerability. This is fixed in versions 8.7.40, 9.5.25, 10.4.14, 11.1.1.","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":"Unrestricted File Upload in Form Framework","id":"CVE-2021-21355","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"typo3:typo3","products":["typo3:typo3"],"type":"file_upload","year":"2021"},"n_packages":21,"n_references":3,"next":{"headline":"Broken Access Control in Form Framework","id":"CVE-2021-21357"},"packages":[{"ecosystem":"Bitnami","fixed":["8.7.40","9.5.25","10.4.14","11.1.1"],"introduced":["8.0.0","9.0.0","10.0.0","11.0.0"],"last_affected":[],"package":"typo3","purl":"pkg:bitnami/typo3","source":"BIT-typo3-2021-21355"},{"ecosystem":"Packagist","fixed":["10.4.14"],"introduced":["10.0.0"],"last_affected":[],"package":"typo3/cms","purl":null,"source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["10.4.14"],"introduced":["10.0.0"],"last_affected":[],"package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["11.1.1"],"introduced":["11.0.0"],"last_affected":[],"package":"typo3/cms","purl":null,"source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["11.1.1"],"introduced":["11.0.0"],"last_affected":[],"package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["9.5.25"],"introduced":["9.0.0"],"last_affected":[],"package":"typo3/cms","purl":null,"source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["9.5.25"],"introduced":["9.0.0"],"last_affected":[],"package":"typo3/cms","purl":"pkg:composer/typo3/cms","source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["10.4.14"],"introduced":["10.0.0"],"last_affected":[],"package":"typo3/cms-core","purl":null,"source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["10.4.14"],"introduced":["10.0.0"],"last_affected":[],"package":"typo3/cms-core","purl":"pkg:composer/typo3/cms-core","source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["11.1.1"],"introduced":["11.0.0"],"last_affected":[],"package":"typo3/cms-core","purl":null,"source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["11.1.1"],"introduced":["11.0.0"],"last_affected":[],"package":"typo3/cms-core","purl":"pkg:composer/typo3/cms-core","source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["9.5.25"],"introduced":["9.0.0"],"last_affected":[],"package":"typo3/cms-core","purl":null,"source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["9.5.25"],"introduced":["9.0.0"],"last_affected":[],"package":"typo3/cms-core","purl":"pkg:composer/typo3/cms-core","source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["10.4.14"],"introduced":["10.0.0"],"last_affected":[],"package":"typo3/cms-form","purl":null,"source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["10.4.14"],"introduced":["10.0.0"],"last_affected":[],"package":"typo3/cms-form","purl":"pkg:composer/typo3/cms-form","source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["11.1.1"],"introduced":["11.0.0"],"last_affected":[],"package":"typo3/cms-form","purl":null,"source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["11.1.1"],"introduced":["11.0.0"],"last_affected":[],"package":"typo3/cms-form","purl":"pkg:composer/typo3/cms-form","source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["8.7.40"],"introduced":["8.0.0"],"last_affected":[],"package":"typo3/cms-form","purl":null,"source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["8.7.40"],"introduced":["8.0.0"],"last_affected":[],"package":"typo3/cms-form","purl":"pkg:composer/typo3/cms-form","source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["9.5.25"],"introduced":["9.0.0"],"last_affected":[],"package":"typo3/cms-form","purl":null,"source":"GHSA-2r6j-862c-m2v2"},{"ecosystem":"Packagist","fixed":["9.5.25"],"introduced":["9.0.0"],"last_affected":[],"package":"typo3/cms-form","purl":"pkg:composer/typo3/cms-form","source":"GHSA-2r6j-862c-m2v2"}],"prev":{"headline":"Open redirect in pollbot","id":"CVE-2021-21354"},"products":["TYPO3.CMS"],"published":"2021-03-23","related":[{"cvss_score":10,"headline":"Indexed Search Engine for TYPO3 Command Execution via Metacharacter Injection","id":"CVE-2009-0258","kev_date_added":null,"published":"2009-01-22"},{"cvss_score":9.8,"headline":"Typo3 SQL injection due to faulty prepared statements","id":"CVE-2011-3583","kev_date_added":null,"published":"2019-11-25"},{"cvss_score":9.8,"headline":"Typo3 Authentication Bypass","id":"CVE-2011-4628","kev_date_added":null,"published":"2019-11-06"},{"cvss_score":8.8,"headline":"Persisted Cross-Site Scripting in Frontend Rendering in typo3","id":"CVE-2023-24814","kev_date_added":null,"published":"2023-02-07"},{"cvss_score":8.8,"headline":"Cross-Site-Request-Forgery in Backend URI Handling in Typo3","id":"CVE-2021-41113","kev_date_added":null,"published":"2021-10-05"},{"cvss_score":8.8,"headline":"Missing Required Cryptographic Step Leading to Sensitive Information Disclosure in TYPO3 CMS","id":"CVE-2020-15098","kev_date_added":null,"published":"2020-07-29"},{"cvss_score":8.8,"headline":"Deserialization of Untrusted Data in TYPO3 CMS","id":"CVE-2020-11067","kev_date_added":null,"published":"2020-05-13"}],"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-03","vendors":["TYPO3"]},"summary":"Attackers can upload arbitrary files to TYPO3 via the Form Framework, potentially leading to code execution or information disclosure without authentication.","url":"https://insights.sbomify.com/CVE-2021-21355/"}