{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-38476 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-38476 is a high-severity use after free vulnerability in Mozilla Firefox Esr, published on 22 Dec 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-38476 and fix it if it is affected.\n\nWhat it is: CVE-2022-38476 is a high-severity use after free vulnerability in Mozilla Firefox Esr, published on 22 Dec 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-38476 in the wild and no public exploit code.\n\nAffected product: Mozilla Firefox Esr. 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-38476/ (Markdown: https://insights.sbomify.com/CVE-2022-38476/index.md)","id":"CVE-2022-38476","markdown":"https://insights.sbomify.com/CVE-2022-38476/index.md","name":"CVE-2022-38476","record":{"aliases":["DEBIAN-CVE-2022-38476","GHSA-mj64-2668-m2rv","UBUNTU-CVE-2022-38476"],"analysis":{"component_type":"browser","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Mozilla Firefox ESR","requires_auth":"none","summary":"A use-after-free vulnerability in Firefox ESR and Thunderbird allows attackers to execute arbitrary code via a race condition during master password changes.","user_interaction":"required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mozilla","cpe":[{"product":"firefox_esr","vendor":"mozilla"},{"product":"thunderbird","vendor":"mozilla"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"A data race could occur in the \u003ccode\u003ePK11_ChangePW\u003c/code\u003e function, potentially leading to a use-after-free vulnerability. In Firefox, this lock protected the data when a user changed their master password. This vulnerability affects Firefox ESR \u003c 102.2 and Thunderbird \u003c 102.2.","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":"Use after free in Firefox ESR","id":"CVE-2022-38476","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"mozilla:firefox_esr","products":["mozilla:firefox_esr","mozilla:thunderbird"],"type":"use_after_free","year":"2022"},"n_packages":0,"n_references":3,"next":{"headline":"Memory corruption in Firefox","id":"CVE-2022-38477"},"packages":[],"prev":{"headline":"Memory corruption in Firefox","id":"CVE-2022-38475"},"products":["Firefox ESR","Thunderbird"],"published":"2022-12-22","related":[{"cvss_score":9.8,"headline":"Other in Firefox ESR","id":"CVE-2021-4127","kev_date_added":null,"published":"2022-12-22"},{"cvss_score":8.8,"headline":"Memory corruption in Firefox ESR","id":"CVE-2023-25746","kev_date_added":null,"published":"2023-06-02"},{"cvss_score":8.8,"headline":"Memory corruption in Firefox ESR","id":"CVE-2021-38495","kev_date_added":null,"published":"2021-11-03"},{"cvss_score":8.8,"headline":"Use after free in Firefox ESR","id":"CVE-2020-15669","kev_date_added":null,"published":"2020-10-01"},{"cvss_score":7.5,"headline":"Path traversal in Firefox ESR","id":"CVE-2020-6828","kev_date_added":null,"published":"2020-04-24"},{"cvss_score":6.5,"headline":"Memory corruption in Firefox ESR","id":"CVE-2023-1945","kev_date_added":null,"published":"2023-06-02"}],"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-15","vendors":["Mozilla"]},"summary":"A use-after-free vulnerability in Firefox ESR and Thunderbird allows attackers to execute arbitrary code via a race condition during master password changes.","url":"https://insights.sbomify.com/CVE-2022-38476/"}