{"id":"CVE-2019-7653","aliases":["DEBIAN-CVE-2019-7653","DLA-1717-1","DLA-2861-1","EUVD-2019-17185","GHSA-34gp-mhv2-cg2f","UBUNTU-CVE-2019-7653","USN-4535-1"],"status":"published","title":"The Debian python-rdflib-tools 4.2.2-1 package for RDFLib 4.2.2 has CLI tools that can load...","description":"The Debian python-rdflib-tools 4.2.2-1 package for RDFLib 4.2.2 has CLI tools that can load Python modules from the current working directory, allowing code injection, because \"python -m\" looks in this directory, as demonstrated by rdf2dot. This issue is specific to use of the debian/scripts directory.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.02263,"percentile":0.83147,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-427"],"published":"2019-02-09T03:00:00Z","modified":"2026-10-24T10:30:31Z","fixes":[{"ecosystem":"Debian:12","package":"rdflib","fixed_in":["4.2.2-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rdflib","fixed_in":["4.2.2-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rdflib","fixed_in":["4.2.2-2"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"rdflib","fixed_in":["4.1.2-3+deb8u1"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"rdflib","fixed_in":["4.2.1-2+deb9u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"rdflib","fixed_in":["4.1.2-3+deb8u1build0.16.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.2-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.2-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.2-2"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.2-3+deb8u1"}]}],"versions":["4.1.2-3"]},{"source":"osv","ecosystem":"Debian:9","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-2+deb9u1"}]}],"versions":["4.2.1-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.2-3+deb8u1build0.16.04.1"}]}],"versions":["4.1.2-3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.1-2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"rdflib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.2-3+deb8u1build0.16.04.1"}]}],"versions":["4.1.2-3"]}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"},{"vendor":"rdflib_project","product":"rdflib"}],"references":[{"url":"https://bugs.debian.org/921751","tags":["x_refsource_MISC","x_transferred","Exploit","Mailing List","Third Party Advisory","evidence","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00019.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/4535-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/12/msg00026.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-7653"},{"url":"https://github.com/advisories/GHSA-34gp-mhv2-cg2f"},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-7653","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-7653","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4535-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-7653","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-7653","description":"The Debian python-rdflib-tools 4.2.2-1 package for RDFLib 4.2.2 has CLI tools that can load Python modules from the current working directory, allowing code injection, because \"python -m\" looks in this directory, as demonstrated by rdf2dot. This issue is specific to use of the debian/scripts directory.","status":"published","published":"2019-02-09T03:00:00Z","modified":"2024-08-04T20:54:28.35Z","updated_at":"2026-11-02T14:32:23.189113Z"}],"euvd":[{"id":"EUVD-2019-17185","description":"The Debian python-rdflib-tools 4.2.2-1 package for RDFLib 4.2.2 has CLI tools that can load Python modules from the current working directory, allowing code injection, because \"python -m\" looks in this directory, as demonstrated by rdf2dot. This issue is specific to use of the debian/scripts directory.","status":"published","published":"2019-02-09T03:00:00Z","modified":"2024-08-04T20:54:28Z","updated_at":"2026-11-03T03:06:45.52347Z"}],"ghsa":[{"id":"GHSA-34gp-mhv2-cg2f","title":"The Debian python-rdflib-tools 4.2.2-1 package for RDFLib 4.2.2 has CLI tools that can load...","description":"The Debian python-rdflib-tools 4.2.2-1 package for RDFLib 4.2.2 has CLI tools that can load Python modules from the current working directory, allowing code injection, because \"python -m\" looks in this directory, as demonstrated by rdf2dot. This issue is specific to use of the debian/scripts directory.","status":"published","published":"2022-05-13T01:02:47Z","modified":"2023-02-01T05:02:32Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-427"],"updated_at":"2026-11-02T14:49:56.179573Z"}],"nvd":[{"id":"CVE-2019-7653","description":"The Debian python-rdflib-tools 4.2.2-1 package for RDFLib 4.2.2 has CLI tools that can load Python modules from the current working directory, allowing code injection, because \"python -m\" looks in this directory, as demonstrated by rdf2dot. This issue is specific to use of the debian/scripts directory.","status":"published","published":"2019-02-09T03:29:00.237Z","modified":"2026-06-17T02:40:48.75Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-427"],"updated_at":"2026-11-02T14:05:04.689371Z"}],"osv":[{"id":"CVE-2019-7653","description":"The Debian python-rdflib-tools 4.2.2-1 package for RDFLib 4.2.2 has CLI tools that can load Python modules from the current working directory, allowing code injection, because \"python -m\" looks in this directory, as demonstrated by rdf2dot. This issue is specific to use of the debian/scripts directory.","status":"published","published":"2019-02-09T03:29:00.237Z","modified":"2026-10-24T10:30:31.239569084Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:12.675558Z"},{"id":"DEBIAN-CVE-2019-7653","description":"The Debian python-rdflib-tools 4.2.2-1 package for RDFLib 4.2.2 has CLI tools that can load Python modules from the current working directory, allowing code injection, because \"python -m\" looks in this directory, as demonstrated by rdf2dot. This issue is specific to use of the debian/scripts directory.","status":"published","published":"2019-02-09T03:29:00.237Z","modified":"2026-09-21T07:03:24.031098879Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:32.57265Z"},{"id":"UBUNTU-CVE-2019-7653","description":"The Debian python-rdflib-tools 4.2.2-1 package for RDFLib 4.2.2 has CLI tools that can load Python modules from the current working directory, allowing code injection, because \"python -m\" looks in this directory, as demonstrated by rdf2dot. This issue is specific to use of the debian/scripts directory.","status":"published","published":"2019-02-09T03:29:00Z","modified":"2026-02-04T03:38:32.680289Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:21.741399Z"},{"id":"DLA-1717-1","title":"rdflib - security update","status":"published","published":"2019-03-18T00:00:00Z","modified":"2026-03-09T01:22:06.922979Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"DLA-2861-1","title":"rdflib - security update","status":"published","published":"2021-12-28T00:00:00Z","modified":"2026-03-09T01:18:36.078707Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"USN-4535-1","title":"rdflib vulnerability","description":"Gabriel Corona discovered that RDFLib did not properly load modules on the\ncommand-line. An attacker could possibly use this issue to cause RDFLib to\nexecute arbitrary code. (CVE-2019-7653)\n","status":"published","published":"2020-09-23T16:48:40Z","modified":"2026-04-27T15:38:00.998015Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
