Arbitrary Code Injection Affecting rdflib package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.26% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-RDFLIB-336812
  • published9 Feb 2019
  • disclosed9 Feb 2019

Introduced: 9 Feb 2019

CVE-2019-7653  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:18.04 rdflib.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rdflib package and not the rdflib package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1