Babel.Locale in Babel before 2.9.1 allows attackers to load arbitrary locale .dat files (containing serialized Python objects) via directory traversal, leading to code execution.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://www.tenable.com/security/research/tra-2021-14 | third party advisory exploit |
https://github.com/python-babel/babel/pull/782 | third party advisory patch |
https://lists.debian.org/debian-lts/2021/10/msg00040.html | third party advisory mailing list |
https://lists.debian.org/debian-lts-announce/2021/10/msg00018.html | third party advisory mailing list |
https://www.debian.org/security/2021/dsa-5018 | third party advisory vendor advisory |