{"answers":{"affected":"It affects 6 products.","exploited":"There is no known exploitation of CVE-2024-31497 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-31497 is a medium-severity vulnerability in Fedoraproject Fedora, published on 15 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-31497 and fix it if it is affected.\n\nWhat it is: CVE-2024-31497 is a medium-severity vulnerability in Fedoraproject Fedora, published on 15 Apr 2024. 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-2024-31497 in the wild and no public exploit code.\n\nAffected product: Fedoraproject Fedora. 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-2024-31497/ (Markdown: https://insights.sbomify.com/CVE-2024-31497/index.md)","id":"CVE-2024-31497","markdown":"https://insights.sbomify.com/CVE-2024-31497/index.md","name":"CVE-2024-31497","record":{"aliases":["ALPINE-CVE-2024-31497","DEBIAN-CVE-2024-31497","DLA-3839-1","GHSA-6p4c-r453-8743","MGASA-2024-0140","UBUNTU-CVE-2024-31497","openSUSE-SU-2024:0111-1","openSUSE-SU-2024:13868-1","openSUSE-SU-2024:13870-1"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"PuTTY SSH client","requires_auth":"none","summary":"Biased ECDSA nonce generation in PuTTY allows attackers to recover private keys from signatures, enabling unauthorized access and supply-chain attacks.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"filezilla_client","vendor":"filezilla-project"},{"product":"putty","vendor":"putty"},{"product":"tortoisesvn","vendor":"tigris"},{"product":"tortoisegit","vendor":"tortoisegit"},{"product":"winscp","vendor":"winscp"}],"cvss":{"score":5.9,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"description":"In PuTTY 0.68 through 0.80 before 0.81, biased ECDSA nonce generation allows an attacker to recover a user's NIST P-521 secret key via a quick attack in approximately 60 signatures. This is especially important in a scenario where an adversary is able to read messages signed by PuTTY or Pageant. The required set of signed messages may be publicly readable because they are stored in a public Git service that supports use of SSH for commit signing, and the signatures were made by Pageant through an agent-forwarding mechanism. In other words, an adversary may already have enough signature information to compromise a victim's private key, even if there is no further use of vulnerable PuTTY versions. After a key compromise, an adversary may be able to conduct supply-chain attacks on software maintained in Git. A second, independent scenario is that the adversary is an operator of an SSH server to which the victim authenticates (for remote login or file copy), even though this server is not fully trusted by the victim, and the victim uses the same private key for SSH connections to other services operated by other entities. Here, the rogue server operator (who would otherwise have no way to determine the victim's private key) can derive the victim's private key, and then use it for unauthorized access to those other services. If the other services include Git services, then again it may be possible to conduct supply-chain attacks on software maintained in Git. This also affects, for example, FileZilla before 3.67.0, WinSCP before 6.3.3, TortoiseGit before 2.15.0.1, and TortoiseSVN through 1.14.6.","ecosystems":["SUSE:Package Hub 15 SP5","openSUSE:Leap 15.5","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2024-04-17","github_poc":4,"max_poc_stars":11,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-05-10T14:30:50Z","kind":"github_poc","ref":"https://github.com/HugoBond/CVE-2024-31497-POC","stars":11,"title":"Proof Of Concept that exploits PuTTy CVE-2024-31497."},{"date":"2024-04-17T10:43:42Z","kind":"github_poc","ref":"https://github.com/edutko/cve-2024-31497","stars":2,"title":null},{"date":"2024-04-17T04:00:20Z","kind":"github_poc","ref":"https://github.com/sh1k4ku/CVE-2024-31497","stars":0,"title":" A script designed to uncover vulnerabilities in Putty by exploiting CVE-2024-31497."},{"date":"2025-10-16T11:33:10Z","kind":"github_poc","ref":"https://github.com/LukaWynants/Onderzoek_CVE-2024-31497-POC","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Weak cryptography in n/a","id":"CVE-2024-31497","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"weak_cryptography","year":"2024"},"n_packages":4,"n_references":27,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2024-31498"},"packages":[{"ecosystem":"SUSE:Package Hub 15 SP5","fixed":["0.81-bp155.2.6.1"],"introduced":["0"],"last_affected":[],"package":"putty","purl":"pkg:rpm/suse/putty\u0026distro=SUSE%20Package%20Hub%2015%20SP5","source":"openSUSE-SU-2024:0111-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["0.81-bp155.2.6.1"],"introduced":["0"],"last_affected":[],"package":"putty","purl":"pkg:rpm/opensuse/putty\u0026distro=openSUSE%20Leap%2015.5","source":"openSUSE-SU-2024:0111-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.67.0-1.1"],"introduced":["0"],"last_affected":[],"package":"filezilla","purl":"pkg:rpm/opensuse/filezilla\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13870-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.81-1.1"],"introduced":["0"],"last_affected":[],"package":"putty","purl":"pkg:rpm/opensuse/putty\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13868-1"}],"prev":{"headline":"Memory corruption in FortiAnalyzer","id":"CVE-2024-31496"},"products":["n/a"],"published":"2024-04-15","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"partial"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["n/a"]},"summary":"Biased ECDSA nonce generation in PuTTY allows attackers to recover private keys from signatures, enabling unauthorized access and supply-chain attacks.","url":"https://insights.sbomify.com/CVE-2024-31497/"}