{"answers":{"affected":"4 open source packages ship an affected version, including contao/contao and contao/core-bundle. It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-10642 in the wild and no public exploit code.","fix":"Upgrade contao/contao to 4.7.3 or later.","what":"CVE-2019-10642 is a high-severity vulnerability in n/a, published on 17 Apr 2019."},"fix_prompt":"Check this codebase for CVE-2019-10642 and fix it if it is affected.\n\nWhat it is: CVE-2019-10642 is a high-severity vulnerability in n/a, published on 17 Apr 2019. \nExploitation: There is no known exploitation of CVE-2019-10642 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- contao/contao (Packagist): affected from 4.7.0; fixed in 4.7.3\n- contao/contao (Packagist): affected from 4.7.0; fixed in 4.7.3\n- contao/core-bundle (Packagist): affected from 4.7.0; fixed in 4.7.3\n- contao/core-bundle (Packagist): affected from 4.7.0; fixed in 4.7.3\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-2019-10642/ (Markdown: https://insights.sbomify.com/CVE-2019-10642/index.md)","id":"CVE-2019-10642","markdown":"https://insights.sbomify.com/CVE-2019-10642/index.md","name":"CVE-2019-10642","record":{"aliases":["GHSA-hwmh-9jj9-8c9c"],"analysis":null,"analysis_generated_by":null,"assigner":"mitre","cpe":[{"product":"contao_cms","vendor":"contao"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"Contao 4.7 allows CSRF.","ecosystems":["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":"Contao CSRF Token Bypass","id":"CVE-2019-10642","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":null,"year":"2019"},"n_packages":4,"n_references":2,"next":{"headline":"Contao Does Not Expire Tokens Correctly","id":"CVE-2019-10643"},"packages":[{"ecosystem":"Packagist","fixed":["4.7.3"],"introduced":["4.7.0"],"last_affected":[],"package":"contao/contao","purl":null,"source":"GHSA-hwmh-9jj9-8c9c"},{"ecosystem":"Packagist","fixed":["4.7.3"],"introduced":["4.7.0"],"last_affected":[],"package":"contao/contao","purl":"pkg:composer/contao/contao","source":"GHSA-hwmh-9jj9-8c9c"},{"ecosystem":"Packagist","fixed":["4.7.3"],"introduced":["4.7.0"],"last_affected":[],"package":"contao/core-bundle","purl":null,"source":"GHSA-hwmh-9jj9-8c9c"},{"ecosystem":"Packagist","fixed":["4.7.3"],"introduced":["4.7.0"],"last_affected":[],"package":"contao/core-bundle","purl":"pkg:composer/contao/core-bundle","source":"GHSA-hwmh-9jj9-8c9c"}],"prev":{"headline":"Contao Does Not Invalidate Existing Sessions When Password Changes","id":"CVE-2019-10641"},"products":["n/a"],"published":"2019-04-17","related":[{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2014-1860","kev_date_added":null,"published":"2020-01-08"},{"cvss_score":9.8,"headline":"Contao SQL injection in the backend and listing module","id":"CVE-2017-16558","kev_date_added":null,"published":"2019-04-25"},{"cvss_score":9.8,"headline":"Contao Does Not Invalidate Existing Sessions When Password Changes","id":"CVE-2019-10641","kev_date_added":null,"published":"2019-04-17"},{"cvss_score":9.8,"headline":"Contao Does Not Expire Tokens Correctly","id":"CVE-2019-10643","kev_date_added":null,"published":"2019-04-17"},{"cvss_score":8.8,"headline":"Contao Core directory traversal vulnerability","id":"CVE-2017-10993","kev_date_added":null,"published":"2017-07-21"},{"cvss_score":6.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2012-1297","kev_date_added":null,"published":"2012-03-19"}],"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":"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":null,"url":"https://insights.sbomify.com/CVE-2019-10642/"}