UBUNTU-CVE-2019-17041

Source
https://ubuntu.com/security/CVE-2019-17041
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-17041.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-17041
Related
Published
2019-10-07T16:15:00Z
Modified
2024-12-18T16:43:15Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in Rsyslog v8.1908.0. contrib/pmaixforwardedfrom/pmaixforwardedfrom.c has a heap overflow in the parser for AIX log messages. The parser tries to locate a log message delimiter (in this case, a space or a colon) but fails to account for strings that do not satisfy this constraint. If the string does not match, then the variable lenMsg will reach the value zero and will skip the sanity check that detects invalid log messages. The message will then be considered valid, and the parser will eat up the nonexistent colon delimiter. In doing so, it will decrement lenMsg, a signed integer, whose value was zero and now becomes minus one. The following step in the parser is to shift left the contents of the message. To do this, it will call memmove with the right pointers to the target and destination strings, but the lenMsg will now be interpreted as a huge value, causing a heap overflow.

References

Affected packages

Ubuntu:Pro:14.04:LTS / rsyslog

Package

Name
rsyslog
Purl
pkg:deb/ubuntu/rsyslog?arch=src?distro=esm-infra-legacy/trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*

5.8.11-2ubuntu4

7.*

7.4.4-1ubuntu1
7.4.4-1ubuntu2
7.4.4-1ubuntu2.1
7.4.4-1ubuntu2.3
7.4.4-1ubuntu2.5
7.4.4-1ubuntu2.6
7.4.4-1ubuntu2.7

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:Pro:16.04:LTS / rsyslog

Package

Name
rsyslog
Purl
pkg:deb/ubuntu/rsyslog?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.16.0-1ubuntu3.1+esm1

Affected versions

8.*

8.12.0-1ubuntu2
8.12.0-1ubuntu3
8.14.0-2ubuntu1
8.14.0-2ubuntu2
8.16.0-1ubuntu1
8.16.0-1ubuntu2
8.16.0-1ubuntu3
8.16.0-1ubuntu3.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "8.16.0-1ubuntu3.1+esm1",
            "binary_name": "rsyslog"
        },
        {
            "binary_version": "8.16.0-1ubuntu3.1+esm1",
            "binary_name": "rsyslog-dbgsym"
        },
        {
            "binary_version": "8.16.0-1ubuntu3.1+esm1",
            "binary_name": "rsyslog-elasticsearch"
        },
        {
            "binary_version": "8.16.0-1ubuntu3.1+esm1",
            "binary_name": "rsyslog-elasticsearch-dbgsym"
        },
        {
            "binary_version": "8.16.0-1ubuntu3.1+esm1",
            "binary_name": "rsyslog-gnutls"
        },
        {
            "binary_version": "8.16.0-1ubuntu3.1+esm1",
            "binary_name": "rsyslog-gnutls-dbgsym"
        },
        {
            "binary_version": "8.16.0-1ubuntu3.1+esm1",
            "binary_name": "rsyslog-gssapi"
        },
        {
            "binary_version": "8.16.0-1ubuntu3.1+esm1",
            "binary_name": "rsyslog-gssapi-dbgsym"
        },
        {
            "binary_version": "8.16.0-1ubuntu3.1+esm1",
            "binary_name": "rsyslog-mysql"
        },
        {
            "binary_version": "8.16.0-1ubuntu3.1+esm1",
            "binary_name": "rsyslog-mysql-dbgsym"
        },
        {
            "binary_version": "8.16.0-1ubuntu3.1+esm1",
            "binary_name": "rsyslog-pgsql"
        },
        {
            "binary_version": "8.16.0-1ubuntu3.1+esm1",
            "binary_name": "rsyslog-pgsql-dbgsym"
        },
        {
            "binary_version": "8.16.0-1ubuntu3.1+esm1",
            "binary_name": "rsyslog-relp"
        },
        {
            "binary_version": "8.16.0-1ubuntu3.1+esm1",
            "binary_name": "rsyslog-relp-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / rsyslog

Package

Name
rsyslog
Purl
pkg:deb/ubuntu/rsyslog?arch=src?distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

8.*

8.16.0-1ubuntu9
8.16.0-1ubuntu10
8.32.0-1ubuntu3
8.32.0-1ubuntu4
8.32.0-1ubuntu4.2

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:20.04:LTS / rsyslog

Package

Name
rsyslog
Purl
pkg:deb/ubuntu/rsyslog?arch=src?distro=focal

Affected ranges

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

Affected versions

8.*

8.1901.0-1ubuntu4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-czmq"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-czmq-dbgsym"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-dbgsym"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-elasticsearch"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-elasticsearch-dbgsym"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-gnutls"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-gnutls-dbgsym"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-gssapi"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-gssapi-dbgsym"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-hiredis"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-hiredis-dbgsym"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-kafka"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-kafka-dbgsym"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-mongodb"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-mongodb-dbgsym"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-mysql"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-mysql-dbgsym"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-openssl"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-openssl-dbgsym"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-pgsql"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-pgsql-dbgsym"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-relp"
        },
        {
            "binary_version": "8.2001.0-1ubuntu1",
            "binary_name": "rsyslog-relp-dbgsym"
        }
    ]
}