{"answers":{"affected":"5 open source packages ship an affected version, including openssl-src, node and node-min. It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-3786 in the wild and no public exploit code.","fix":"Upgrade openssl-src to 300.0.11 or later.","what":"CVE-2022-3786 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 1 Nov 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-3786 and fix it if it is affected.\n\nWhat it is: CVE-2022-3786 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 1 Nov 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-3786 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- openssl-src (crates.io): affected from 300.0.0; fixed in 300.0.11\n- openssl-src (crates.io): affected from 300.0.0; fixed in 300.0.11\n- openssl-src (crates.io): affected from 300.0.0; fixed in 300.0.11\n- node (Bitnami): affected from 18.0.0; fixed in 18.11.0, 18.12.1, 19.0.1\n- node-min (Bitnami): affected from 18.0.0; fixed in 18.11.0, 18.12.1, 19.0.1\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-3786/ (Markdown: https://insights.sbomify.com/CVE-2022-3786/index.md)","id":"CVE-2022-3786","markdown":"https://insights.sbomify.com/CVE-2022-3786/index.md","name":"CVE-2022-3786","record":{"aliases":["ALPINE-CVE-2022-3786","BIT-node-2022-3786","BIT-node-min-2022-3786","CLEANSTART-2026-NT43765","CLEANSTART-2026-PY31996","DEBIAN-CVE-2022-3786","GHSA-h8jm-2x53-xhp5","RUSTSEC-2022-0065","UBUNTU-CVE-2022-3786"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenSSL library","requires_auth":"none","summary":"A buffer overflow in OpenSSL's X.509 name constraint checking allows attackers to cause a denial of service via malicious certificates.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openssl","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"node.js","vendor":"nodejs"},{"product":"openssl","vendor":"openssl"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"description":"A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed a malicious certificate or for an application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address in a certificate to overflow an arbitrary number of bytes containing the `.' character (decimal 46) on the stack. This buffer overflow could result in a crash (causing a denial of service). In a TLS client, this can be triggered by connecting to a malicious server. In a TLS server, this can be triggered if the server requests client authentication and a malicious client connects.","ecosystems":["Bitnami","crates.io"],"exploits":{"exploitdb":0,"first_seen":"2023-01-11","github_poc":1,"max_poc_stars":5,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-01-11T19:52:43Z","kind":"github_poc","ref":"https://github.com/WhatTheFuzz/openssl-fuzz","stars":5,"title":"Finding CVE-2022-3786 (openssl) with Mayhem"}],"tier":"poc_unverified"},"has_fix":true,"headline":"X.509 Email Address Variable Length Buffer Overflow","id":"CVE-2022-3786","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"fedoraproject:fedora","products":["fedoraproject:fedora","nodejs:node.js","openssl:openssl"],"type":"memory_corruption","year":"2022"},"n_packages":5,"n_references":2,"next":{"headline":"Privilege escalation in device-mapper-multipath","id":"CVE-2022-3787"},"packages":[{"ecosystem":"Bitnami","fixed":["18.11.0","18.12.1","19.0.1"],"introduced":["18.0.0","18.12.0","19.0.0"],"last_affected":[],"package":"node","purl":"pkg:bitnami/node","source":"BIT-node-2022-3786"},{"ecosystem":"Bitnami","fixed":["18.11.0","18.12.1","19.0.1"],"introduced":["18.0.0","18.12.0","19.0.0"],"last_affected":[],"package":"node-min","purl":"pkg:bitnami/node-min","source":"BIT-node-min-2022-3786"},{"ecosystem":"crates.io","fixed":["300.0.11"],"introduced":["300.0.0"],"last_affected":[],"package":"openssl-src","purl":null,"source":"GHSA-h8jm-2x53-xhp5"},{"ecosystem":"crates.io","fixed":["300.0.11"],"introduced":["300.0.0"],"last_affected":[],"package":"openssl-src","purl":"pkg:cargo/openssl-src","source":"GHSA-h8jm-2x53-xhp5"},{"ecosystem":"crates.io","fixed":["300.0.11"],"introduced":["300.0.0"],"last_affected":[],"package":"openssl-src","purl":"pkg:cargo/openssl-src","source":"RUSTSEC-2022-0065"}],"prev":{"headline":"Axiomatic Bento4 Avcinfo SetDataSize heap-based overflow","id":"CVE-2022-3785"},"products":["OpenSSL"],"published":"2022-11-01","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":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-14","vendors":["OpenSSL"]},"summary":"A buffer overflow in OpenSSL's X.509 name constraint checking allows attackers to cause a denial of service via malicious certificates.","url":"https://insights.sbomify.com/CVE-2022-3786/"}