Advisory

UBUNTU-CVE-2017-1000158

Also known as: CVE-2017-1000158

Summary

The record has no summary.

Details

CPython (aka Python) up to 2.7.13 is vulnerable to an integer overflow in the PyString_DecodeEscape function in stringobject.c, resulting in heap-based buffer overflow (and possible arbitrary code execution)

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2017-11-17 00:00 UTC
Modified
2026-04-22 11:08 UTC

Affected packages and fixes

python2.7

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 2.7.6-8ubuntu0.4 (ecosystem)

Fixed versions

2.7.6-8ubuntu0.4

Fix

  • Fixed version 2.7.6-8ubuntu0.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python3.4

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 3.4.3-1ubuntu1~14.04.6 (ecosystem)

Fixed versions

3.4.3-1ubuntu1~14.04.6

Fix

  • Fixed version 3.4.3-1ubuntu1~14.04.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python3.5

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 3.5.2-2ubuntu0~16.04.4~14.04.1 (ecosystem)

Fixed versions

3.5.2-2ubuntu0~16.04.4~14.04.1

Fix

  • Fixed version 3.5.2-2ubuntu0~16.04.4~14.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python2.7

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 2.7.12-1ubuntu0~16.04.2 (ecosystem)

Fixed versions

2.7.12-1ubuntu0~16.04.2

Fix

  • Fixed version 2.7.12-1ubuntu0~16.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python3.5

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 3.5.2-2ubuntu0~16.04.4 (ecosystem)

Fixed versions

3.5.2-2ubuntu0~16.04.4

Fix

  • Fixed version 3.5.2-2ubuntu0~16.04.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences