{"answers":{"affected":"3 open source packages ship an affected version, including github.com/lightningnetwork/lnd. It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-12999 in the wild and no public exploit code.","fix":"Upgrade github.com/lightningnetwork/lnd to 0.7.1-beta or later.","what":"CVE-2019-12999 is a high-severity missing authorization vulnerability in n/a, published on 31 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-12999 and fix it if it is affected.\n\nWhat it is: CVE-2019-12999 is a high-severity missing authorization vulnerability in n/a, published on 31 Jan 2020. 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-2019-12999 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/lightningnetwork/lnd (Go): affected all versions; fixed in 0.7.1-beta\n- github.com/lightningnetwork/lnd (Go): affected all versions; fixed in 0.7.1-beta\n- github.com/lightningnetwork/lnd (Go): affected all versions; fixed in 0.7.1-beta\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-2019-12999/ (Markdown: https://insights.sbomify.com/CVE-2019-12999/index.md)","id":"CVE-2019-12999","markdown":"https://insights.sbomify.com/CVE-2019-12999/index.md","name":"CVE-2019-12999","record":{"aliases":["GHSA-78hj-86cr-6j2v","GO-2022-0807"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Lightning Network Daemon","requires_auth":"none","summary":"Attackers can trigger loss of funds in Lightning Network Daemon due to incorrect access control, requiring an upgrade to secure assets.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"network_daemon","vendor":"lightning"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[],"description":"Lightning Network Daemon (lnd) before 0.7 allows attackers to trigger loss of funds because of Incorrect Access Control.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2019-09-27","github_poc":1,"max_poc_stars":10,"metasploit":0,"nuclei":0,"refs":[{"date":"2019-09-27T03:47:09Z","kind":"github_poc","ref":"https://github.com/lightninglabs/chanleakcheck","stars":10,"title":"A tool to check if your lnd node was targeted by CVE-2019-12999"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Improper Access Control in Lightning Network Daemon","id":"CVE-2019-12999","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"missing_authorization","year":"2019"},"n_packages":3,"n_references":3,"next":{"headline":"Missing authorization in n/a","id":"CVE-2019-13000"},"packages":[{"ecosystem":"Go","fixed":["0.7.1-beta"],"introduced":["0"],"last_affected":[],"package":"github.com/lightningnetwork/lnd","purl":null,"source":"GHSA-78hj-86cr-6j2v"},{"ecosystem":"Go","fixed":["0.7.1-beta"],"introduced":["0"],"last_affected":[],"package":"github.com/lightningnetwork/lnd","purl":"pkg:golang/github.com/lightningnetwork/lnd","source":"GHSA-78hj-86cr-6j2v"},{"ecosystem":"Go","fixed":["0.7.1-beta"],"introduced":["0"],"last_affected":[],"package":"github.com/lightningnetwork/lnd","purl":"pkg:golang/github.com/lightningnetwork/lnd","source":"GO-2022-0807"}],"prev":{"headline":"Missing authorization in n/a","id":"CVE-2019-12998"},"products":["n/a"],"published":"2020-01-31","related":[],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can trigger loss of funds in Lightning Network Daemon due to incorrect access control, requiring an upgrade to secure assets.","url":"https://insights.sbomify.com/CVE-2019-12999/"}