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.
The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.
Link | Tags |
---|---|
https://bugs.debian.org/921751 | mailing list third party advisory exploit |
https://lists.debian.org/debian-lts-announce/2019/03/msg00019.html | third party advisory mailing list |
https://usn.ubuntu.com/4535-1/ | third party advisory vendor advisory |
https://lists.debian.org/debian-lts-announce/2021/12/msg00026.html | third party advisory mailing list |