{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-12384 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2018-12384 is a medium-severity vulnerability in Mozilla Network Security Services, published on 29 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-12384 and fix it if it is affected.\n\nWhat it is: CVE-2018-12384 is a medium-severity vulnerability in Mozilla Network Security Services, published on 29 Apr 2019. 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-2018-12384 in the wild and no public exploit code.\n\nAffected product: Mozilla Network Security Services. 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-2018-12384/ (Markdown: https://insights.sbomify.com/CVE-2018-12384/index.md)","id":"CVE-2018-12384","markdown":"https://insights.sbomify.com/CVE-2018-12384/index.md","name":"CVE-2018-12384","record":{"aliases":["ALPINE-CVE-2018-12384","DEBIAN-CVE-2018-12384","GHSA-rg3c-6wcj-37gm","MGASA-2018-0393","RHSA-2018:2768","RHSA-2018:2898","UBUNTU-CVE-2018-12384"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Network Security Services","requires_auth":"none","summary":"NSS library fails to generate random values for SSLv2-compatible ClientHello requests, allowing full malleability of the handshake.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mozilla","cpe":[{"product":"network_security_services","vendor":"mozilla"}],"cvss":{"score":5.9,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-335","name":"Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)"}],"description":"When handling a SSLv2-compatible ClientHello request, the server doesn't generate a new random value but sends an all-zero value instead. This results in full malleability of the ClientHello for SSLv2 used for TLS 1.2 in all versions prior to NSS 3.39. This does not impact TLS 1.3.","ecosystems":["Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation","Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation"],"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":"Weak cryptography in Network Security Services (NSS)","id":"CVE-2018-12384","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"mozilla:network_security_services","products":["mozilla:network_security_services"],"type":"weak_cryptography","year":"2018"},"n_packages":48,"n_references":2,"next":{"headline":"Denial of service in Firefox","id":"CVE-2018-12385"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss","purl":"pkg:rpm/redhat/nss","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-debuginfo","purl":"pkg:rpm/redhat/nss-debuginfo","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-devel","purl":"pkg:rpm/redhat/nss-devel","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-pkcs11-devel","purl":"pkg:rpm/redhat/nss-pkcs11-devel","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-sysinit","purl":"pkg:rpm/redhat/nss-sysinit","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-tools","purl":"pkg:rpm/redhat/nss-tools","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss","purl":"pkg:rpm/redhat/nss","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-debuginfo","purl":"pkg:rpm/redhat/nss-debuginfo","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-devel","purl":"pkg:rpm/redhat/nss-devel","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-pkcs11-devel","purl":"pkg:rpm/redhat/nss-pkcs11-devel","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-sysinit","purl":"pkg:rpm/redhat/nss-sysinit","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-tools","purl":"pkg:rpm/redhat/nss-tools","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss","purl":"pkg:rpm/redhat/nss","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-debuginfo","purl":"pkg:rpm/redhat/nss-debuginfo","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-devel","purl":"pkg:rpm/redhat/nss-devel","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-pkcs11-devel","purl":"pkg:rpm/redhat/nss-pkcs11-devel","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-sysinit","purl":"pkg:rpm/redhat/nss-sysinit","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-tools","purl":"pkg:rpm/redhat/nss-tools","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss","purl":"pkg:rpm/redhat/nss","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-debuginfo","purl":"pkg:rpm/redhat/nss-debuginfo","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-devel","purl":"pkg:rpm/redhat/nss-devel","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-pkcs11-devel","purl":"pkg:rpm/redhat/nss-pkcs11-devel","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-sysinit","purl":"pkg:rpm/redhat/nss-sysinit","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:3.36.0-9.el6_10"],"introduced":["0"],"last_affected":[],"package":"nss-tools","purl":"pkg:rpm/redhat/nss-tools","source":"RHSA-2018:2898"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss","purl":"pkg:rpm/redhat/nss","source":"RHSA-2018:2768"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss-debuginfo","purl":"pkg:rpm/redhat/nss-debuginfo","source":"RHSA-2018:2768"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss-devel","purl":"pkg:rpm/redhat/nss-devel","source":"RHSA-2018:2768"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss-pkcs11-devel","purl":"pkg:rpm/redhat/nss-pkcs11-devel","source":"RHSA-2018:2768"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss-sysinit","purl":"pkg:rpm/redhat/nss-sysinit","source":"RHSA-2018:2768"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss-tools","purl":"pkg:rpm/redhat/nss-tools","source":"RHSA-2018:2768"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss","purl":"pkg:rpm/redhat/nss","source":"RHSA-2018:2768"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss-debuginfo","purl":"pkg:rpm/redhat/nss-debuginfo","source":"RHSA-2018:2768"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss-devel","purl":"pkg:rpm/redhat/nss-devel","source":"RHSA-2018:2768"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss-pkcs11-devel","purl":"pkg:rpm/redhat/nss-pkcs11-devel","source":"RHSA-2018:2768"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss-sysinit","purl":"pkg:rpm/redhat/nss-sysinit","source":"RHSA-2018:2768"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss-tools","purl":"pkg:rpm/redhat/nss-tools","source":"RHSA-2018:2768"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss","purl":"pkg:rpm/redhat/nss","source":"RHSA-2018:2768"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss-debuginfo","purl":"pkg:rpm/redhat/nss-debuginfo","source":"RHSA-2018:2768"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss-devel","purl":"pkg:rpm/redhat/nss-devel","source":"RHSA-2018:2768"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:3.36.0-7.el7_5"],"introduced":["0"],"last_affected":[],"package":"nss-pkcs11-devel","purl":"pkg:rpm/redhat/nss-pkcs11-devel","source":"RHSA-2018:2768"}],"prev":{"headline":"Information disclosure in Firefox","id":"CVE-2018-12383"},"products":["Network Security Services (NSS)"],"published":"2019-04-29","related":[{"cvss_score":9.8,"headline":"Memory corruption in NSS","id":"CVE-2019-17006","kev_date_added":null,"published":"2020-10-22"},{"cvss_score":9.8,"headline":"Memory corruption in Firefox","id":"CVE-2017-5461","kev_date_added":null,"published":"2017-05-11"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2009-2404","kev_date_added":null,"published":"2009-08-03"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2017-11695","kev_date_added":null,"published":"2017-12-27"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2017-11696","kev_date_added":null,"published":"2017-12-27"},{"cvss_score":7.8,"headline":"Denial of service in n/a","id":"CVE-2017-11697","kev_date_added":null,"published":"2017-12-27"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2017-11698","kev_date_added":null,"published":"2017-12-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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-05","vendors":["NSS"]},"summary":"NSS library fails to generate random values for SSLv2-compatible ClientHello requests, allowing full malleability of the handshake.","url":"https://insights.sbomify.com/CVE-2018-12384/"}