{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-20742 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-20742 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-20742 is a high-severity vulnerability in Cisco Adaptive Security Appliance Software, published on 3 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-20742 and fix it if it is affected.\n\nWhat it is: CVE-2022-20742 is a high-severity vulnerability in Cisco Adaptive Security Appliance Software, published on 3 May 2022. 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-2022-20742 in the wild and no public exploit code.\n\nAffected product: Cisco Adaptive Security Appliance Software. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2022-20742/ (Markdown: https://insights.sbomify.com/CVE-2022-20742/index.md)","id":"CVE-2022-20742","markdown":"https://insights.sbomify.com/CVE-2022-20742/index.md","name":"CVE-2022-20742","record":{"aliases":["GHSA-m7xj-7gmx-xmr5"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Cisco ASA/FTD VPN","requires_auth":"none","summary":"A man-in-the-middle attacker can decrypt and modify IPsec IKEv2 VPN traffic due to improper GCM cipher implementation in Cisco ASA and FTD software.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"adaptive_security_appliance_software","vendor":"cisco"},{"product":"secure_firewall_threat_defense","vendor":"cisco"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-325","name":"Missing Cryptographic Step"}],"description":"A vulnerability in an IPsec VPN library of Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software could allow an unauthenticated, remote attacker to read or modify data within an IPsec IKEv2 VPN tunnel. This vulnerability is due to an improper implementation of Galois/Counter Mode (GCM) ciphers. An attacker in a man-in-the-middle position could exploit this vulnerability by intercepting a sufficient number of encrypted messages across an affected IPsec IKEv2 VPN tunnel and then using cryptanalytic techniques to break the encryption. A successful exploit could allow the attacker to decrypt, read, modify, and re-encrypt data that is transmitted across an affected IPsec IKEv2 VPN tunnel.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Weak cryptography in Cisco Adaptive Security Appliance (ASA) Software","id":"CVE-2022-20742","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"cisco:adaptive_security_appliance_software","products":["cisco:adaptive_security_appliance_software","cisco:secure_firewall_threat_defense"],"type":"weak_cryptography","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"Cisco Firepower Management Center File Upload Security Bypass Vulnerability","id":"CVE-2022-20743"},"packages":[],"prev":{"headline":"Cisco Secure Network Analytics Network Diagrams Application Cross-Site Scripting Vulnerability","id":"CVE-2022-20741"},"products":["Cisco Adaptive Security Appliance (ASA) Software"],"published":"2022-05-03","related":[{"cvss_score":9.9,"headline":"Cisco Secure Firewall Adaptive Security Appliance (ASA) and Secure Firewall Threat Defense (FTD) Buffer Overflow","id":"CVE-2025-20333","kev_date_added":"2025-09-25","published":"2025-09-25"},{"cvss_score":8.8,"headline":"Cisco Adaptive Security Appliance (ASA) SNMP Buffer Overflow","id":"CVE-2016-6366","kev_date_added":"2022-05-24","published":"2016-08-18"},{"cvss_score":8.6,"headline":"Cisco Secure Firewall Adaptive Security Appliance (ASA) and Secure Firewall Threat Defense (FTD) Heap Inspection","id":"CVE-2026-20349","kev_date_added":"2026-08-11","published":"2026-08-11"},{"cvss_score":8.6,"headline":"Cisco ASA and FTD Denial of Service","id":"CVE-2024-20353","kev_date_added":"2024-04-24","published":"2024-04-24"},{"cvss_score":7.8,"headline":"Cisco Adaptive Security Appliance (ASA) CLI Remote Code Execution","id":"CVE-2016-6367","kev_date_added":"2022-05-24","published":"2016-08-18"},{"cvss_score":7.5,"headline":"Cisco ASA and FTD Read-Only Path Traversal","id":"CVE-2020-3452","kev_date_added":"2021-11-03","published":"2020-07-22"},{"cvss_score":7.5,"headline":"Cisco ASA and FTD Information Disclosure","id":"CVE-2020-3259","kev_date_added":"2024-02-15","published":"2020-05-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-06","vendors":["Cisco"]},"summary":"A man-in-the-middle attacker can decrypt and modify IPsec IKEv2 VPN traffic due to improper GCM cipher implementation in Cisco ASA and FTD software.","url":"https://insights.sbomify.com/CVE-2022-20742/"}