UBUNTU-CVE-2017-13089

Source
https://ubuntu.com/security/CVE-2017-13089
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-13089.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2017-13089
Related
Published
2017-10-26T15:00:00Z
Modified
2017-10-26T15:00:00Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The http.c:skipshortbody() function is called in some circumstances, such as when processing redirects. When the response is sent chunked in wget before 1.19.2, the chunk parser uses strtol() to read each chunk's length, but doesn't check that the chunk length is a non-negative number. The code then tries to skip the chunk in pieces of 512 bytes by using the MIN() macro, but ends up passing the negative chunk length to connect.c:fdread(). As fdread() takes an int argument, the high 32 bits of the chunk length are discarded, leaving fd_read() with a completely attacker controlled length argument.

References

Affected packages

Ubuntu:14.04:LTS / wget

Package

Name
wget
Purl
pkg:deb/ubuntu/wget?arch=src?distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.15-1ubuntu1.14.04.3

Affected versions

1.*

1.14-2ubuntu1
1.14-5ubuntu1
1.15-1ubuntu1
1.15-1ubuntu1.14.04.1
1.15-1ubuntu1.14.04.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.15-1ubuntu1.14.04.3",
            "binary_name": "wget"
        },
        {
            "binary_version": "1.15-1ubuntu1.14.04.3",
            "binary_name": "wget-dbgsym"
        },
        {
            "binary_version": "1.15-1ubuntu1.14.04.3",
            "binary_name": "wget-udeb"
        },
        {
            "binary_version": "1.15-1ubuntu1.14.04.3",
            "binary_name": "wget-udeb-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / wget

Package

Name
wget
Purl
pkg:deb/ubuntu/wget?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.17.1-1ubuntu1.3

Affected versions

1.*

1.16.1-1ubuntu1
1.17.1-1ubuntu1
1.17.1-1ubuntu1.1
1.17.1-1ubuntu1.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.17.1-1ubuntu1.3",
            "binary_name": "wget"
        },
        {
            "binary_version": "1.17.1-1ubuntu1.3",
            "binary_name": "wget-dbgsym"
        },
        {
            "binary_version": "1.17.1-1ubuntu1.3",
            "binary_name": "wget-udeb"
        },
        {
            "binary_version": "1.17.1-1ubuntu1.3",
            "binary_name": "wget-udeb-dbgsym"
        }
    ]
}