{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-14842 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2019-14842 is a high-severity vulnerability in [UNKNOWN] libnbd, published on 26 Nov 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-2019-14842 and fix it if it is affected.\n\nWhat it is: CVE-2019-14842 is a high-severity vulnerability in [UNKNOWN] libnbd, published on 26 Nov 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-2019-14842 in the wild and no public exploit code.\n\nAffected product: [UNKNOWN] libnbd. 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-2019-14842/ (Markdown: https://insights.sbomify.com/CVE-2019-14842/index.md)","id":"CVE-2019-14842","markdown":"https://insights.sbomify.com/CVE-2019-14842/index.md","name":"CVE-2019-14842","record":{"aliases":["DEBIAN-CVE-2019-14842","GHSA-xv5g-h355-j9v9"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"NBD client library","requires_auth":"none","summary":"A signed/unsigned confusion in libnbd allows a malicious NBD server to overwrite memory and execute arbitrary code on the client.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libnbd","vendor":"redhat"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.0"},"cwes":[{"id":"CWE-681","name":"Incorrect Conversion between Numeric Types"}],"description":"Structured reply is a feature of the newstyle NBD protocol allowing the server to send a reply in chunks. A bounds check which was supposed to test for chunk offsets smaller than the beginning of the request did not work because of signed/unsigned confusion. If one of these chunks contains a negative offset then data under control of the server is written to memory before the read buffer supplied by the client. If the read buffer is located on the stack then this allows the stack return address from nbd_pread() to be trivially modified, allowing arbitrary code execution under the control of the server. If the buffer is located on the heap then other memory objects before the buffer can be overwritten, which again would usually lead to arbitrary code execution.","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":"Integer overflow in libnbd","id":"CVE-2019-14842","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2019"},"n_packages":0,"n_references":2,"next":{"headline":"Missing authorization in wildfly-security-manager","id":"CVE-2019-14843"},"packages":[],"prev":{"headline":"Privilege escalation in Business-central","id":"CVE-2019-14841"},"products":["libnbd"],"published":"2019-11-26","related":[],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["[UNKNOWN]"]},"summary":"A signed/unsigned confusion in libnbd allows a malicious NBD server to overwrite memory and execute arbitrary code on the client.","url":"https://insights.sbomify.com/CVE-2019-14842/"}