Bug 1676376 (CVE-2019-7653)

Summary: CVE-2019-7653 python-rdflib: Improper control of generation of code from current working directory
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dan, djc, dmalcolm, pingou
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:47:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1676379, 1676378    
Bug Blocks:    

Description Dhananjay Arunesh 2019-02-12 06:30:22 UTC
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.

Reference:
https://bugs.debian.org/921751

Comment 1 Dhananjay Arunesh 2019-02-12 06:32:46 UTC
Created python-rdflib tracking bugs for this issue:

Affects: fedora-all [bug 1676378]

Comment 2 Dhananjay Arunesh 2019-02-12 06:33:06 UTC
Created python-rdflib tracking bugs for this issue:

Affects: epel-all [bug 1676379]

Comment 3 Product Security DevOps Team 2019-06-10 10:47:42 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.