{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2009-5138 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2009-5138 is a medium-severity vulnerability in Gnu Gnutls, published on 6 Mar 2014. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2009-5138 and fix it if it is affected.\n\nWhat it is: CVE-2009-5138 is a medium-severity vulnerability in Gnu Gnutls, published on 6 Mar 2014. 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-2009-5138 in the wild and no public exploit code.\n\nAffected product: Gnu Gnutls. 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-2009-5138/ (Markdown: https://insights.sbomify.com/CVE-2009-5138/index.md)","id":"CVE-2009-5138","markdown":"https://insights.sbomify.com/CVE-2009-5138/index.md","name":"CVE-2009-5138","record":{"aliases":["GHSA-754r-c6vv-mv5g"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"GnuTLS library","requires_auth":"none","summary":"Remote attackers can bypass certificate validation restrictions by using X.509 V1 certificates as intermediate CAs in GnuTLS.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"gnutls","vendor":"gnu"}],"cvss":{"score":5.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-264","name":null}],"description":"GnuTLS before 2.7.6, when the GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT flag is not enabled, treats version 1 X.509 certificates as intermediate CAs, which allows remote attackers to bypass intended restrictions by leveraging a X.509 V1 certificate from a trusted CA to issue new certificates, a different vulnerability than CVE-2014-1959.","ecosystems":[],"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":"Security feature bypass in n/a","id":"CVE-2009-5138","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gnu:gnutls","products":["gnu:gnutls"],"type":"security_feature_bypass","year":"2009"},"n_packages":0,"n_references":14,"next":{"headline":"Information disclosure in n/a","id":"CVE-2009-5139"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2009-5137"},"products":["n/a"],"published":"2014-03-06","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-1948","kev_date_added":null,"published":"2008-05-21"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2017-5334","kev_date_added":null,"published":"2017-03-24"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-5336","kev_date_added":null,"published":"2017-03-24"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-5337","kev_date_added":null,"published":"2017-03-24"},{"cvss_score":9.3,"headline":"Null dereference in n/a","id":"CVE-2008-1949","kev_date_added":null,"published":"2008-05-21"},{"cvss_score":7.8,"headline":"Denial of service in n/a","id":"CVE-2004-2531","kev_date_added":null,"published":"2005-10-25"},{"cvss_score":7.6,"headline":"Use after free in n/a","id":"CVE-2008-2377","kev_date_added":null,"published":"2008-08-08"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can bypass certificate validation restrictions by using X.509 V1 certificates as intermediate CAs in GnuTLS.","url":"https://insights.sbomify.com/CVE-2009-5138/"}