{"answers":{"affected":"7 open source packages ship an affected version, including capnp. It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-46149 in the wild and no public exploit code.","fix":"Upgrade capnp to a fixed version for your release line: 0.13.7, 0.14.11 or 0.15.2.","what":"CVE-2022-46149 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 30 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-46149 and fix it if it is affected.\n\nWhat it is: CVE-2022-46149 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 30 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-46149 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- capnp (crates.io): affected all versions; fixed in 0.13.7\n- capnp (crates.io): affected all versions; fixed in 0.13.7\n- capnp (crates.io): affected from 0.0.0-0; fixed in 0.13.7, 0.14.11, 0.15.2\n- capnp (crates.io): affected from 0.14.0; fixed in 0.14.11\n- capnp (crates.io): affected from 0.14.0; fixed in 0.14.11\n- capnp (crates.io): affected from 0.15.0; fixed in 0.15.2\n- capnp (crates.io): affected from 0.15.0; fixed in 0.15.2\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-46149/ (Markdown: https://insights.sbomify.com/CVE-2022-46149/index.md)","id":"CVE-2022-46149","markdown":"https://insights.sbomify.com/CVE-2022-46149/index.md","name":"CVE-2022-46149","record":{"aliases":["DEBIAN-CVE-2022-46149","GHSA-qqff-4vw4-f6hx","JLSEC-2026-1268","RHSA-2023:1408","RUSTSEC-2022-0068","SUSE-SU-2022:4478-1","UBUNTU-CVE-2022-46149","openSUSE-SU-2024:12543-1","openSUSE-SU-2024:12557-1","openSUSE-SU-2025:15102-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Cap'n Proto library","requires_auth":"none","summary":"Attackers can cause denial of service or read memory by sending malicious messages to applications using Cap'n Proto.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"capnp","vendor":"capnproto"},{"product":"capnproto","vendor":"capnproto"},{"product":"fedora","vendor":"fedoraproject"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"Cap'n Proto is a data interchange format and remote procedure call (RPC) system. Cap'n Proro prior to versions 0.7.1, 0.8.1, 0.9.2, and 0.10.3, as well as versions of Cap'n Proto's Rust implementation prior to 0.13.7, 0.14.11, and 0.15.2 are vulnerable to out-of-bounds read due to logic error handling list-of-list. This issue may lead someone to remotely segfault a peer by sending it a malicious message, if the victim performs certain actions on a list-of-pointer type. Exfiltration of memory is possible if the victim performs additional certain actions on a list-of-pointer type. To be vulnerable, an application must perform a specific sequence of actions, described in the GitHub Security Advisory. The bug is present in inlined code, therefore the fix will require rebuilding dependent applications. Cap'n Proto has C++ fixes available in versions 0.7.1, 0.8.1, 0.9.2, and 0.10.3. The `capnp` Rust crate has fixes available in versions 0.13.7, 0.14.11, and 0.15.2.","ecosystems":["Red Hat:openshift:4.12::el8","Red Hat:openshift:4.12::el9","SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","crates.io","openSUSE:Leap 15.4","openSUSE:Tumbleweed"],"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":"Cap'n Proto vulnerable to out-of-bounds read due to logic error handling list-of-list.","id":"CVE-2022-46149","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"memory_corruption","year":"2022"},"n_packages":12,"n_references":6,"next":{"headline":"Discourse may allow exposure of hidden tags in the subject of notification emails","id":"CVE-2022-46150"},"packages":[{"ecosystem":"crates.io","fixed":["0.13.7"],"introduced":["0"],"last_affected":[],"package":"capnp","purl":null,"source":"GHSA-qqff-4vw4-f6hx"},{"ecosystem":"crates.io","fixed":["0.13.7"],"introduced":["0"],"last_affected":[],"package":"capnp","purl":"pkg:cargo/capnp","source":"GHSA-qqff-4vw4-f6hx"},{"ecosystem":"crates.io","fixed":["0.13.7","0.14.11","0.15.2"],"introduced":["0.0.0-0","0.14.0-0","0.15.0-0"],"last_affected":[],"package":"capnp","purl":"pkg:cargo/capnp","source":"RUSTSEC-2022-0068"},{"ecosystem":"crates.io","fixed":["0.14.11"],"introduced":["0.14.0"],"last_affected":[],"package":"capnp","purl":null,"source":"GHSA-qqff-4vw4-f6hx"},{"ecosystem":"crates.io","fixed":["0.14.11"],"introduced":["0.14.0"],"last_affected":[],"package":"capnp","purl":"pkg:cargo/capnp","source":"GHSA-qqff-4vw4-f6hx"},{"ecosystem":"crates.io","fixed":["0.15.2"],"introduced":["0.15.0"],"last_affected":[],"package":"capnp","purl":null,"source":"GHSA-qqff-4vw4-f6hx"},{"ecosystem":"crates.io","fixed":["0.15.2"],"introduced":["0.15.0"],"last_affected":[],"package":"capnp","purl":"pkg:cargo/capnp","source":"GHSA-qqff-4vw4-f6hx"},{"ecosystem":"Red Hat:openshift:4.12::el8","fixed":["0:0.5.1-3.rhaos4.12.git.el8"],"introduced":["0"],"last_affected":[],"package":"conmon-rs","purl":"pkg:rpm/redhat/conmon-rs","source":"RHSA-2023:1408"},{"ecosystem":"Red Hat:openshift:4.12::el9","fixed":["0:0.5.1-3.rhaos4.12.git.el9"],"introduced":["0"],"last_affected":[],"package":"conmon-rs","purl":"pkg:rpm/redhat/conmon-rs","source":"RHSA-2023:1408"},{"ecosystem":"SUSE:Linux Enterprise Module for Desktop Applications 15 SP4","fixed":["0.9.1-150400.3.4.1"],"introduced":["0"],"last_affected":[],"package":"capnproto","purl":"pkg:rpm/suse/capnproto\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP4","source":"SUSE-SU-2022:4478-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["0.9.1-150400.3.4.1"],"introduced":["0"],"last_affected":[],"package":"capnproto","purl":"pkg:rpm/opensuse/capnproto\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2022:4478-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.0.0-2.5"],"introduced":["0"],"last_affected":[],"package":"python-pycapnp","purl":"pkg:rpm/opensuse/python-pycapnp\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15102-1"}],"prev":{"headline":"Discourse allows self-XSS through malicious composer message","id":"CVE-2022-46148"},"products":["capnproto"],"published":"2022-11-30","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":"Red Hat","prefix":"RHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":["capnproto"]},"summary":"Attackers can cause denial of service or read memory by sending malicious messages to applications using Cap'n Proto.","url":"https://insights.sbomify.com/CVE-2022-46149/"}