{"answers":{"affected":"5 open source packages ship an affected version, including rpyc. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-16328 exists.","fix":"Upgrade rpyc to a fixed version for your release line: 4.1.1 or 4.1.2.","what":"CVE-2019-16328 is a high-severity code injection vulnerability in n/a, published on 3 Oct 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-16328 and fix it if it is affected.\n\nWhat it is: CVE-2019-16328 is a high-severity code injection vulnerability in n/a, published on 3 Oct 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-16328 exists.\n\nAffected packages and fixed versions:\n- rpyc (PyPI): affected from 4.1.0; fixed in 4.1.1\n- rpyc (PyPI): affected from 4.1.0; fixed in 4.1.1\n- rpyc (PyPI): affected from 4.1.0; fixed in 4.1.2\n- rpyc (PyPI): affected from 4.1.0; fixed in 4.1.2\n- rpyc (PyPI): affected from 4.1.0; fixed in 4.1.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-2019-16328/ (Markdown: https://insights.sbomify.com/CVE-2019-16328/index.md)","id":"CVE-2019-16328","markdown":"https://insights.sbomify.com/CVE-2019-16328/index.md","name":"CVE-2019-16328","record":{"aliases":["GHSA-9ggp-4jpr-7ppj","GHSA-pj4g-4488-wmxm","PYSEC-2019-118","openSUSE-SU-2020:0685-1","openSUSE-SU-2020:0763-1","openSUSE-SU-2024:11268-1","openSUSE-SU-2024:14162-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Python RPC library","requires_auth":"none","summary":"Remote attackers can execute arbitrary code on RPyC services by manipulating object attributes to construct malicious remote procedure calls.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"rpyc","vendor":"rpyc_project"}],"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":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"In RPyC 4.1.x through 4.1.1, a remote attacker can dynamically modify object attributes to construct a remote procedure call that executes code for an RPyC service with default configuration settings.","ecosystems":["PyPI","SUSE:Package Hub 15 SP1","openSUSE:Leap 15.1","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2023-02-19","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2023-02-19","kind":"metasploit","ref":"auxiliary/scanner/http/rpyc_rce","stars":null,"title":"RPyC 4.1.0 through 4.1.1 Remote Command Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Duplicate Advisory: Possible remote code execution via a remote procedure call","id":"CVE-2019-16328","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2019"},"n_packages":10,"n_references":4,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2019-16330"},"packages":[{"ecosystem":"PyPI","fixed":["4.1.1"],"introduced":["4.1.0"],"last_affected":[],"package":"rpyc","purl":null,"source":"GHSA-pj4g-4488-wmxm"},{"ecosystem":"PyPI","fixed":["4.1.1"],"introduced":["4.1.0"],"last_affected":[],"package":"rpyc","purl":"pkg:pypi/rpyc","source":"GHSA-pj4g-4488-wmxm"},{"ecosystem":"PyPI","fixed":["4.1.2"],"introduced":["4.1.0"],"last_affected":[],"package":"rpyc","purl":null,"source":"GHSA-9ggp-4jpr-7ppj"},{"ecosystem":"PyPI","fixed":["4.1.2"],"introduced":["4.1.0"],"last_affected":[],"package":"rpyc","purl":"pkg:pypi/rpyc","source":"GHSA-9ggp-4jpr-7ppj"},{"ecosystem":"PyPI","fixed":["4.1.2"],"introduced":["4.1.0"],"last_affected":[],"package":"rpyc","purl":"pkg:pypi/rpyc","source":"PYSEC-2019-118"},{"ecosystem":"SUSE:Package Hub 15 SP1","fixed":["4.1.5-bp151.2.3.1"],"introduced":["0"],"last_affected":[],"package":"python-rpyc","purl":"pkg:rpm/suse/python-rpyc\u0026distro=SUSE%20Package%20Hub%2015%20SP1","source":"openSUSE-SU-2020:0763-1"},{"ecosystem":"SUSE:Package Hub 15 SP1","fixed":["4.1.5-bp151.2.3.1"],"introduced":["0"],"last_affected":[],"package":"python-rpyc-test","purl":"pkg:rpm/suse/python-rpyc-test\u0026distro=SUSE%20Package%20Hub%2015%20SP1","source":"openSUSE-SU-2020:0763-1"},{"ecosystem":"openSUSE:Leap 15.1","fixed":["4.1.5-lp151.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-rpyc","purl":"pkg:rpm/opensuse/python-rpyc\u0026distro=openSUSE%20Leap%2015.1","source":"openSUSE-SU-2020:0685-1"},{"ecosystem":"openSUSE:Leap 15.1","fixed":["4.1.5-lp151.3.3.1"],"introduced":["0"],"last_affected":[],"package":"python-rpyc-test","purl":"pkg:rpm/opensuse/python-rpyc-test\u0026distro=openSUSE%20Leap%2015.1","source":"openSUSE-SU-2020:0685-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["6.0.0-1.2"],"introduced":["0"],"last_affected":[],"package":"python-rpyc","purl":"pkg:rpm/opensuse/python-rpyc\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14162-1"}],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2019-16327"},"products":["n/a"],"published":"2019-10-03","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":"PyPA Advisory Database","prefix":"PYSEC"},{"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)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code on RPyC services by manipulating object attributes to construct malicious remote procedure calls.","url":"https://insights.sbomify.com/CVE-2019-16328/"}