{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-20866 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-20866 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-20866 is a high-severity vulnerability in Cisco Adaptive Security Appliance Software, published on 10 Aug 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-20866 and fix it if it is affected.\n\nWhat it is: CVE-2022-20866 is a high-severity vulnerability in Cisco Adaptive Security Appliance Software, published on 10 Aug 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-20866 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-20866/ (Markdown: https://insights.sbomify.com/CVE-2022-20866/index.md)","id":"CVE-2022-20866","markdown":"https://insights.sbomify.com/CVE-2022-20866/index.md","name":"CVE-2022-20866","record":{"aliases":["GHSA-96q7-c2w2-93p8"],"analysis":{"component_type":"network_device","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Cisco ASA/FTD firewall","requires_auth":"none","summary":"Remote attackers can retrieve RSA private keys via side-channel attacks, enabling device impersonation and traffic decryption on Cisco ASA and FTD devices.","user_interaction":"not_required","vuln_class":"information_disclosure"},"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-203","name":"Observable Discrepancy"}],"description":"A vulnerability in the handling of RSA keys on devices running Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat Defense (FTD) Software could allow an unauthenticated, remote attacker to retrieve an RSA private key. This vulnerability is due to a logic error when the RSA key is stored in memory on a hardware platform that performs hardware-based cryptography. An attacker could exploit this vulnerability by using a Lenstra side-channel attack against the targeted device. A successful exploit could allow the attacker to retrieve the RSA private key. The following conditions may be observed on an affected device: This vulnerability will apply to approximately 5 percent of the RSA keys on a device that is running a vulnerable release of Cisco ASA Software or Cisco FTD Software; not all RSA keys are expected to be affected due to mathematical calculations applied to the RSA key. The RSA key could be valid but have specific characteristics that make it vulnerable to the potential leak of the RSA private key. If an attacker obtains the RSA private key, they could use the key to impersonate a device that is running Cisco ASA Software or Cisco FTD Software or to decrypt the device traffic. See the Indicators of Compromise section for more information on the detection of this type of RSA key. The RSA key could be malformed and invalid. A malformed RSA key is not functional, and a TLS client connection to a device that is running Cisco ASA Software or Cisco FTD Software that uses the malformed RSA key will result in a TLS signature failure, which means a vulnerable software release created an invalid RSA signature that failed verification. If an attacker obtains the RSA private key, they could use the key to impersonate a device that is running Cisco ASA Software or Cisco FTD Software or to decrypt the device traffic.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2022-07-13","github_poc":1,"max_poc_stars":7,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-07-13T12:48:49Z","kind":"github_poc","ref":"https://github.com/CiscoPSIRT/CVE-2022-20866","stars":7,"title":"RSA Key Checker for CVE-2022-20866"}],"tier":"poc_unverified"},"has_fix":null,"headline":"Cisco Adaptive Security Appliance Software and Firepower Threat Defense Software RSA Private Key Leak Vulnerability","id":"CVE-2022-20866","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":"information_disclosure","year":"2022"},"n_packages":0,"n_references":1,"next":{"headline":"SQL injection in Cisco Secure Email","id":"CVE-2022-20867"},"packages":[],"prev":{"headline":"Cisco FXOS Software Command Injection Vulnerability","id":"CVE-2022-20865"},"products":["Cisco Adaptive Security Appliance (ASA) Software"],"published":"2022-08-10","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-01","vendors":["Cisco"]},"summary":"Remote attackers can retrieve RSA private keys via side-channel attacks, enabling device impersonation and traffic decryption on Cisco ASA and FTD devices.","url":"https://insights.sbomify.com/CVE-2022-20866/"}