CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2019

CVE-2019-20916
Pypa Pip vulnerability

The pip package before 19.2 for Python allows Directory Traversal when a URL is given in an install command, because a Content-Disposition header can have ../ in a filename, as demonstrated by overwriting the /root/.ssh/authorized_keys file. This occurs in _download_http_url in _internal/download.py.

Affected products

Pip, Leap, Debian Linux, Communications Cloud Native Core Network Function Cloud Native Environment, Communications Cloud Native Core Policy. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Pypa Pip runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.