{"answers":{"affected":"3 open source packages ship an affected version, including github.com/codenotary/immudb. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-39199 in the wild and no public exploit code.","fix":"Upgrade github.com/codenotary/immudb to 1.4.1 or later.","what":"CVE-2022-39199 is a medium-severity vulnerability in codenotary immudb, published on 22 Nov 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-39199 and fix it if it is affected.\n\nWhat it is: CVE-2022-39199 is a medium-severity vulnerability in codenotary immudb, published on 22 Nov 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-39199 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/codenotary/immudb (Go): affected all versions; fixed in 1.4.1\n- github.com/codenotary/immudb (Go): affected all versions; fixed in 1.4.1\n- github.com/codenotary/immudb (Go): affected all versions; fixed in 1.4.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-39199/ (Markdown: https://insights.sbomify.com/CVE-2022-39199/index.md)","id":"CVE-2022-39199","markdown":"https://insights.sbomify.com/CVE-2022-39199/index.md","name":"CVE-2022-39199","record":{"aliases":["GHSA-6cqj-6969-p57x","GO-2022-1118"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"immudb database","requires_auth":"high_privilege","summary":"A malicious immudb server can spoof its UUID to trick clients into accepting invalid state proofs, bypassing cryptographic verification.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"immudb","vendor":"codenotary"}],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"description":"immudb is a database with built-in cryptographic proof and verification. immudb client SDKs use server's UUID to distinguish between different server instance so that the client can connect to different immudb instances and keep the state for multiple servers. SDK does not validate this uuid and can accept any value reported by the server. A malicious server can change the reported UUID tricking the client to treat it as a different server thus accepting a state completely irrelevant to the one previously retrieved from the server. This issue has been patched in version 1.4.1. As a workaround, when initializing an immudb client object a custom state handler can be used to store the state. Providing custom implementation that ignores the server UUID can be used to ensure that even if the server changes the UUID, client will still consider it to be the same server.","ecosystems":["Go"],"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":"Lack of proper validation in immudb","id":"CVE-2022-39199","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_bypass","year":"2022"},"n_packages":3,"n_references":2,"next":{"headline":"Signature checks not applied to some retrieved missing events","id":"CVE-2022-39200"},"packages":[{"ecosystem":"Go","fixed":["1.4.1"],"introduced":["0"],"last_affected":[],"package":"github.com/codenotary/immudb","purl":null,"source":"GHSA-6cqj-6969-p57x"},{"ecosystem":"Go","fixed":["1.4.1"],"introduced":["0"],"last_affected":[],"package":"github.com/codenotary/immudb","purl":"pkg:golang/github.com/codenotary/immudb","source":"GHSA-6cqj-6969-p57x"},{"ecosystem":"Go","fixed":["1.4.1"],"introduced":["0"],"last_affected":[],"package":"github.com/codenotary/immudb","purl":"pkg:golang/github.com/codenotary/immudb","source":"GO-2022-1118"}],"prev":{"headline":"Apache Dubbo Hession Deserialization Vulnerability Gadgets Bypass","id":"CVE-2022-39198"},"products":["immudb"],"published":"2022-11-22","related":[{"cvss_score":7.4,"headline":"Information disclosure in n/a","id":"CVE-2024-41262","kev_date_added":null,"published":"2024-07-31"},{"cvss_score":5.4,"headline":"immundb has insufficient verification of data authenticity","id":"CVE-2022-36111","kev_date_added":null,"published":"2022-11-23"}],"sources":[{"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":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["codenotary"]},"summary":"A malicious immudb server can spoof its UUID to trick clients into accepting invalid state proofs, bypassing cryptographic verification.","url":"https://insights.sbomify.com/CVE-2022-39199/"}