CVE-2019-17041

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-17041
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-17041.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-17041
Related
Published
2019-10-07T16:15:11Z
Modified
2024-12-05T15:23:05.613484Z
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

Alpine:v3.10 / rsyslog

Package

Name
rsyslog
Purl
pkg:apk/alpine/rsyslog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1904.0-r1

Affected versions

5.*

5.6.2-r0
5.8.0-r0
5.8.0-r1
5.8.5-r0
5.8.7-r0
5.8.7-r1

6.*

6.2.0-r0
6.2.2-r0
6.2.2-r1
6.2.2-r2
6.2.2-r3
6.4.2-r0
6.4.2-r1
6.4.2-r2

8.*

8.2.1-r0
8.2.2-r0
8.4.1-r0
8.4.2-r0
8.4.2-r1
8.7.0-r0
8.9.0-r0
8.9.0-r1
8.9.0-r2
8.16.0-r0
8.18.0-r0
8.20.0-r0
8.20.0-r1
8.23.0-r0
8.24.0-r0
8.25.0-r0
8.26.0-r0
8.27.0-r0
8.30.0-r0
8.31.0-r0
8.31.0-r1
8.33.1-r0
8.33.1-r1
8.34.0-r0
8.36.0-r0
8.37.0-r0
8.40.0-r0
8.40.0-r1
8.40.0-r2
8.40.0-r3
8.1904.0-r0

Alpine:v3.11 / rsyslog

Package

Name
rsyslog
Purl
pkg:apk/alpine/rsyslog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1908.0-r1

Affected versions

5.*

5.6.2-r0
5.8.0-r0
5.8.0-r1
5.8.5-r0
5.8.7-r0
5.8.7-r1

6.*

6.2.0-r0
6.2.2-r0
6.2.2-r1
6.2.2-r2
6.2.2-r3
6.4.2-r0
6.4.2-r1
6.4.2-r2

8.*

8.2.1-r0
8.2.2-r0
8.4.1-r0
8.4.2-r0
8.4.2-r1
8.7.0-r0
8.9.0-r0
8.9.0-r1
8.9.0-r2
8.16.0-r0
8.18.0-r0
8.20.0-r0
8.20.0-r1
8.23.0-r0
8.24.0-r0
8.25.0-r0
8.26.0-r0
8.27.0-r0
8.30.0-r0
8.31.0-r0
8.31.0-r1
8.33.1-r0
8.33.1-r1
8.34.0-r0
8.36.0-r0
8.37.0-r0
8.40.0-r0
8.40.0-r1
8.40.0-r2
8.40.0-r3
8.1904.0-r0
8.1908.0-r0

Alpine:v3.12 / rsyslog

Package

Name
rsyslog
Purl
pkg:apk/alpine/rsyslog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1908.0-r1

Affected versions

5.*

5.6.2-r0
5.8.0-r0
5.8.0-r1
5.8.5-r0
5.8.7-r0
5.8.7-r1

6.*

6.2.0-r0
6.2.2-r0
6.2.2-r1
6.2.2-r2
6.2.2-r3
6.4.2-r0
6.4.2-r1
6.4.2-r2

8.*

8.2.1-r0
8.2.2-r0
8.4.1-r0
8.4.2-r0
8.4.2-r1
8.7.0-r0
8.9.0-r0
8.9.0-r1
8.9.0-r2
8.16.0-r0
8.18.0-r0
8.20.0-r0
8.20.0-r1
8.23.0-r0
8.24.0-r0
8.25.0-r0
8.26.0-r0
8.27.0-r0
8.30.0-r0
8.31.0-r0
8.31.0-r1
8.33.1-r0
8.33.1-r1
8.34.0-r0
8.36.0-r0
8.37.0-r0
8.40.0-r0
8.40.0-r1
8.40.0-r2
8.40.0-r3
8.1904.0-r0
8.1908.0-r0

Alpine:v3.13 / rsyslog

Package

Name
rsyslog
Purl
pkg:apk/alpine/rsyslog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1908.0-r1

Affected versions

5.*

5.6.2-r0
5.8.0-r0
5.8.0-r1
5.8.5-r0
5.8.7-r0
5.8.7-r1

6.*

6.2.0-r0
6.2.2-r0
6.2.2-r1
6.2.2-r2
6.2.2-r3
6.4.2-r0
6.4.2-r1
6.4.2-r2

8.*

8.2.1-r0
8.2.2-r0
8.4.1-r0
8.4.2-r0
8.4.2-r1
8.7.0-r0
8.9.0-r0
8.9.0-r1
8.9.0-r2
8.16.0-r0
8.18.0-r0
8.20.0-r0
8.20.0-r1
8.23.0-r0
8.24.0-r0
8.25.0-r0
8.26.0-r0
8.27.0-r0
8.30.0-r0
8.31.0-r0
8.31.0-r1
8.33.1-r0
8.33.1-r1
8.34.0-r0
8.36.0-r0
8.37.0-r0
8.40.0-r0
8.40.0-r1
8.40.0-r2
8.40.0-r3
8.1904.0-r0
8.1908.0-r0

Alpine:v3.14 / rsyslog

Package

Name
rsyslog
Purl
pkg:apk/alpine/rsyslog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1908.0-r1

Affected versions

5.*

5.6.2-r0
5.8.0-r0
5.8.0-r1
5.8.5-r0
5.8.7-r0
5.8.7-r1

6.*

6.2.0-r0
6.2.2-r0
6.2.2-r1
6.2.2-r2
6.2.2-r3
6.4.2-r0
6.4.2-r1
6.4.2-r2

8.*

8.2.1-r0
8.2.2-r0
8.4.1-r0
8.4.2-r0
8.4.2-r1
8.7.0-r0
8.9.0-r0
8.9.0-r1
8.9.0-r2
8.16.0-r0
8.18.0-r0
8.20.0-r0
8.20.0-r1
8.23.0-r0
8.24.0-r0
8.25.0-r0
8.26.0-r0
8.27.0-r0
8.30.0-r0
8.31.0-r0
8.31.0-r1
8.33.1-r0
8.33.1-r1
8.34.0-r0
8.36.0-r0
8.37.0-r0
8.40.0-r0
8.40.0-r1
8.40.0-r2
8.40.0-r3
8.1904.0-r0
8.1908.0-r0

Alpine:v3.15 / rsyslog

Package

Name
rsyslog
Purl
pkg:apk/alpine/rsyslog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1908.0-r1

Affected versions

5.*

5.6.2-r0
5.8.0-r0
5.8.0-r1
5.8.5-r0
5.8.7-r0
5.8.7-r1

6.*

6.2.0-r0
6.2.2-r0
6.2.2-r1
6.2.2-r2
6.2.2-r3
6.4.2-r0
6.4.2-r1
6.4.2-r2

8.*

8.2.1-r0
8.2.2-r0
8.4.1-r0
8.4.2-r0
8.4.2-r1
8.7.0-r0
8.9.0-r0
8.9.0-r1
8.9.0-r2
8.16.0-r0
8.18.0-r0
8.20.0-r0
8.20.0-r1
8.23.0-r0
8.24.0-r0
8.25.0-r0
8.26.0-r0
8.27.0-r0
8.30.0-r0
8.31.0-r0
8.31.0-r1
8.33.1-r0
8.33.1-r1
8.34.0-r0
8.36.0-r0
8.37.0-r0
8.40.0-r0
8.40.0-r1
8.40.0-r2
8.40.0-r3
8.1904.0-r0
8.1908.0-r0

Alpine:v3.16 / rsyslog

Package

Name
rsyslog
Purl
pkg:apk/alpine/rsyslog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1908.0-r1

Affected versions

5.*

5.6.2-r0
5.8.0-r0
5.8.0-r1
5.8.5-r0
5.8.7-r0
5.8.7-r1

6.*

6.2.0-r0
6.2.2-r0
6.2.2-r1
6.2.2-r2
6.2.2-r3
6.4.2-r0
6.4.2-r1
6.4.2-r2

8.*

8.2.1-r0
8.2.2-r0
8.4.1-r0
8.4.2-r0
8.4.2-r1
8.7.0-r0
8.9.0-r0
8.9.0-r1
8.9.0-r2
8.16.0-r0
8.18.0-r0
8.20.0-r0
8.20.0-r1
8.23.0-r0
8.24.0-r0
8.25.0-r0
8.26.0-r0
8.27.0-r0
8.30.0-r0
8.31.0-r0
8.31.0-r1
8.33.1-r0
8.33.1-r1
8.34.0-r0
8.36.0-r0
8.37.0-r0
8.40.0-r0
8.40.0-r1
8.40.0-r2
8.40.0-r3
8.1904.0-r0
8.1908.0-r0

Alpine:v3.17 / rsyslog

Package

Name
rsyslog
Purl
pkg:apk/alpine/rsyslog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1908.0-r1

Affected versions

5.*

5.6.2-r0
5.8.0-r0
5.8.0-r1
5.8.5-r0
5.8.7-r0
5.8.7-r1

6.*

6.2.0-r0
6.2.2-r0
6.2.2-r1
6.2.2-r2
6.2.2-r3
6.4.2-r0
6.4.2-r1
6.4.2-r2

8.*

8.2.1-r0
8.2.2-r0
8.4.1-r0
8.4.2-r0
8.4.2-r1
8.7.0-r0
8.9.0-r0
8.9.0-r1
8.9.0-r2
8.16.0-r0
8.18.0-r0
8.20.0-r0
8.20.0-r1
8.23.0-r0
8.24.0-r0
8.25.0-r0
8.26.0-r0
8.27.0-r0
8.30.0-r0
8.31.0-r0
8.31.0-r1
8.33.1-r0
8.33.1-r1
8.34.0-r0
8.36.0-r0
8.37.0-r0
8.40.0-r0
8.40.0-r1
8.40.0-r2
8.40.0-r3
8.1904.0-r0
8.1908.0-r0

Alpine:v3.18 / rsyslog

Package

Name
rsyslog
Purl
pkg:apk/alpine/rsyslog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1908.0-r1

Affected versions

5.*

5.6.2-r0
5.8.0-r0
5.8.0-r1
5.8.5-r0
5.8.7-r0
5.8.7-r1

6.*

6.2.0-r0
6.2.2-r0
6.2.2-r1
6.2.2-r2
6.2.2-r3
6.4.2-r0
6.4.2-r1
6.4.2-r2

8.*

8.2.1-r0
8.2.2-r0
8.4.1-r0
8.4.2-r0
8.4.2-r1
8.7.0-r0
8.9.0-r0
8.9.0-r1
8.9.0-r2
8.16.0-r0
8.18.0-r0
8.20.0-r0
8.20.0-r1
8.23.0-r0
8.24.0-r0
8.25.0-r0
8.26.0-r0
8.27.0-r0
8.30.0-r0
8.31.0-r0
8.31.0-r1
8.33.1-r0
8.33.1-r1
8.34.0-r0
8.36.0-r0
8.37.0-r0
8.40.0-r0
8.40.0-r1
8.40.0-r2
8.40.0-r3
8.1904.0-r0
8.1908.0-r0

Alpine:v3.19 / rsyslog

Package

Name
rsyslog
Purl
pkg:apk/alpine/rsyslog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1908.0-r1

Affected versions

5.*

5.6.2-r0
5.8.0-r0
5.8.0-r1
5.8.5-r0
5.8.7-r0
5.8.7-r1

6.*

6.2.0-r0
6.2.2-r0
6.2.2-r1
6.2.2-r2
6.2.2-r3
6.4.2-r0
6.4.2-r1
6.4.2-r2

8.*

8.2.1-r0
8.2.2-r0
8.4.1-r0
8.4.2-r0
8.4.2-r1
8.7.0-r0
8.9.0-r0
8.9.0-r1
8.9.0-r2
8.16.0-r0
8.18.0-r0
8.20.0-r0
8.20.0-r1
8.23.0-r0
8.24.0-r0
8.25.0-r0
8.26.0-r0
8.27.0-r0
8.30.0-r0
8.31.0-r0
8.31.0-r1
8.33.1-r0
8.33.1-r1
8.34.0-r0
8.36.0-r0
8.37.0-r0
8.40.0-r0
8.40.0-r1
8.40.0-r2
8.40.0-r3
8.1904.0-r0
8.1908.0-r0

Alpine:v3.20 / rsyslog

Package

Name
rsyslog
Purl
pkg:apk/alpine/rsyslog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1908.0-r1

Affected versions

5.*

5.6.2-r0
5.8.0-r0
5.8.0-r1
5.8.5-r0
5.8.7-r0
5.8.7-r1

6.*

6.2.0-r0
6.2.2-r0
6.2.2-r1
6.2.2-r2
6.2.2-r3
6.4.2-r0
6.4.2-r1
6.4.2-r2

8.*

8.2.1-r0
8.2.2-r0
8.4.1-r0
8.4.2-r0
8.4.2-r1
8.7.0-r0
8.9.0-r0
8.9.0-r1
8.9.0-r2
8.16.0-r0
8.18.0-r0
8.20.0-r0
8.20.0-r1
8.23.0-r0
8.24.0-r0
8.25.0-r0
8.26.0-r0
8.27.0-r0
8.30.0-r0
8.31.0-r0
8.31.0-r1
8.33.1-r0
8.33.1-r1
8.34.0-r0
8.36.0-r0
8.37.0-r0
8.40.0-r0
8.40.0-r1
8.40.0-r2
8.40.0-r3
8.1904.0-r0
8.1908.0-r0

Alpine:v3.21 / rsyslog

Package

Name
rsyslog
Purl
pkg:apk/alpine/rsyslog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1908.0-r1

Affected versions

5.*

5.6.2-r0
5.8.0-r0
5.8.0-r1
5.8.5-r0
5.8.7-r0
5.8.7-r1

6.*

6.2.0-r0
6.2.2-r0
6.2.2-r1
6.2.2-r2
6.2.2-r3
6.4.2-r0
6.4.2-r1
6.4.2-r2

8.*

8.2.1-r0
8.2.2-r0
8.4.1-r0
8.4.2-r0
8.4.2-r1
8.7.0-r0
8.9.0-r0
8.9.0-r1
8.9.0-r2
8.16.0-r0
8.18.0-r0
8.20.0-r0
8.20.0-r1
8.23.0-r0
8.24.0-r0
8.25.0-r0
8.26.0-r0
8.27.0-r0
8.30.0-r0
8.31.0-r0
8.31.0-r1
8.33.1-r0
8.33.1-r1
8.34.0-r0
8.36.0-r0
8.37.0-r0
8.40.0-r0
8.40.0-r1
8.40.0-r2
8.40.0-r3
8.1904.0-r0
8.1908.0-r0

Alpine:v3.7 / rsyslog

Package

Name
rsyslog
Purl
pkg:apk/alpine/rsyslog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.31.0-r1

Affected versions

5.*

5.6.2-r0
5.8.0-r0
5.8.0-r1
5.8.5-r0
5.8.7-r0
5.8.7-r1

6.*

6.2.0-r0
6.2.2-r0
6.2.2-r1
6.2.2-r2
6.2.2-r3
6.4.2-r0
6.4.2-r1
6.4.2-r2

8.*

8.2.1-r0
8.2.2-r0
8.4.1-r0
8.4.2-r0
8.4.2-r1
8.7.0-r0
8.9.0-r0
8.9.0-r1
8.9.0-r2
8.16.0-r0
8.18.0-r0
8.20.0-r0
8.20.0-r1
8.23.0-r0
8.24.0-r0
8.25.0-r0
8.26.0-r0
8.27.0-r0
8.30.0-r0
8.31.0-r0

Alpine:v3.8 / rsyslog

Package

Name
rsyslog
Purl
pkg:apk/alpine/rsyslog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.34.0-r1

Affected versions

5.*

5.6.2-r0
5.8.0-r0
5.8.0-r1
5.8.5-r0
5.8.7-r0
5.8.7-r1

6.*

6.2.0-r0
6.2.2-r0
6.2.2-r1
6.2.2-r2
6.2.2-r3
6.4.2-r0
6.4.2-r1
6.4.2-r2

8.*

8.2.1-r0
8.2.2-r0
8.4.1-r0
8.4.2-r0
8.4.2-r1
8.7.0-r0
8.9.0-r0
8.9.0-r1
8.9.0-r2
8.16.0-r0
8.18.0-r0
8.20.0-r0
8.20.0-r1
8.23.0-r0
8.24.0-r0
8.25.0-r0
8.26.0-r0
8.27.0-r0
8.30.0-r0
8.31.0-r0
8.31.0-r1
8.33.1-r0
8.33.1-r1
8.34.0-r0

Alpine:v3.9 / rsyslog

Package

Name
rsyslog
Purl
pkg:apk/alpine/rsyslog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.40.0-r4

Affected versions

5.*

5.6.2-r0
5.8.0-r0
5.8.0-r1
5.8.5-r0
5.8.7-r0
5.8.7-r1

6.*

6.2.0-r0
6.2.2-r0
6.2.2-r1
6.2.2-r2
6.2.2-r3
6.4.2-r0
6.4.2-r1
6.4.2-r2

8.*

8.2.1-r0
8.2.2-r0
8.4.1-r0
8.4.2-r0
8.4.2-r1
8.7.0-r0
8.9.0-r0
8.9.0-r1
8.9.0-r2
8.16.0-r0
8.18.0-r0
8.20.0-r0
8.20.0-r1
8.23.0-r0
8.24.0-r0
8.25.0-r0
8.26.0-r0
8.27.0-r0
8.30.0-r0
8.31.0-r0
8.31.0-r1
8.33.1-r0
8.33.1-r1
8.34.0-r0
8.36.0-r0
8.37.0-r0
8.40.0-r0
8.40.0-r1
8.40.0-r2
8.40.0-r3

Debian:11 / rsyslog

Package

Name
rsyslog
Purl
pkg:deb/debian/rsyslog?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / rsyslog

Package

Name
rsyslog
Purl
pkg:deb/debian/rsyslog?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / rsyslog

Package

Name
rsyslog
Purl
pkg:deb/debian/rsyslog?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}