Vulnerabilities > CVE-2019-17042 - Improper Input Validation vulnerability in multiple products

047910
CVSS 9.8 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
network
low complexity
rsyslog
fedoraproject
debian
opensuse
CWE-20
critical
nessus

Summary

An issue was discovered in Rsyslog v8.1908.0. contrib/pmcisconames/pmcisconames.c has a heap overflow in the parser for Cisco 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.

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Server Side Include (SSI) Injection
    An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
  • Cross Zone Scripting
    An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
  • Cross Site Scripting through Log Files
    An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
  • Command Line Execution through SQL Injection
    An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.

Nessus

  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2019-1FB95AE48D.NASL
    descriptionrebase to upstream version 8.1911.0 ------------------------------------------------- new modules available : - ClickHouse output - generic REST API http output - docker API input - misc. external program input (takes output of specified binary as log source) Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id131251
    published2019-11-25
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/131251
    titleFedora 30 : rsyslog (2019-1fb95ae48d)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Fedora Security Advisory FEDORA-2019-1fb95ae48d.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(131251);
      script_version("1.2");
      script_cvs_date("Date: 2019/12/09");
    
      script_cve_id("CVE-2019-17040", "CVE-2019-17041", "CVE-2019-17042");
      script_xref(name:"FEDORA", value:"2019-1fb95ae48d");
    
      script_name(english:"Fedora 30 : rsyslog (2019-1fb95ae48d)");
      script_summary(english:"Checks rpm output for the updated package.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "rebase to upstream version 8.1911.0
    
    ------------------------------------------------- new modules
    available :
    
      - ClickHouse output
    
      - generic REST API http output
    
      - docker API input
    
      - misc. external program input (takes output of specified
        binary as log source)
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Fedora update system website.
    Tenable has attempted to automatically clean and format it as much as
    possible without introducing additional issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bodhi.fedoraproject.org/updates/FEDORA-2019-1fb95ae48d"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected rsyslog package."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:rsyslog");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:30");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/09/30");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/11/24");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/11/25");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Fedora Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora");
    os_ver = pregmatch(pattern: "Fedora.*release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora");
    os_ver = os_ver[1];
    if (! preg(pattern:"^30([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 30", "Fedora " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"FC30", reference:"rsyslog-8.1911.0-1.fc30")) flag++;
    
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_HOLE,
        extra      : rpm_report_get()
      );
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "rsyslog");
    }
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2019-EA7D5876A4.NASL
    descriptionrebase to upstream version 8.1911.0 ------------------------------------------------- new modules available : - ClickHouse output - generic REST API http output - docker API input - misc. external program input (takes output of specified binary as log source) Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id131206
    published2019-11-22
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/131206
    titleFedora 31 : rsyslog (2019-ea7d5876a4)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Fedora Security Advisory FEDORA-2019-ea7d5876a4.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(131206);
      script_version("1.2");
      script_cvs_date("Date: 2019/12/09");
    
      script_cve_id("CVE-2019-17040", "CVE-2019-17041", "CVE-2019-17042");
      script_xref(name:"FEDORA", value:"2019-ea7d5876a4");
    
      script_name(english:"Fedora 31 : rsyslog (2019-ea7d5876a4)");
      script_summary(english:"Checks rpm output for the updated package.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "rebase to upstream version 8.1911.0
    
    ------------------------------------------------- new modules
    available :
    
      - ClickHouse output
    
      - generic REST API http output
    
      - docker API input
    
      - misc. external program input (takes output of specified
        binary as log source)
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Fedora update system website.
    Tenable has attempted to automatically clean and format it as much as
    possible without introducing additional issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bodhi.fedoraproject.org/updates/FEDORA-2019-ea7d5876a4"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected rsyslog package."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:rsyslog");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:31");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/09/30");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/11/22");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/11/22");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Fedora Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora");
    os_ver = pregmatch(pattern: "Fedora.*release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora");
    os_ver = os_ver[1];
    if (! preg(pattern:"^31([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 31", "Fedora " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"FC31", reference:"rsyslog-8.1911.0-1.fc31")) flag++;
    
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_HOLE,
        extra      : rpm_report_get()
      );
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "rsyslog");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2019-2500.NASL
    descriptionThis update for rsyslog fixes the following issues : Security issues fixed : - CVE-2019-17041: Fixed a heap overflow in the parser for AIX log messages (bsc#1153451). - CVE-2019-17042: Fixed a heap overflow in the parser for Cisco log messages (bsc#1153459). Other issue addressed : - Fixed an issue where rsyslog was SEGFAULT due to a mutex double-unlock (bsc#1141063). This update was imported from the SUSE:SLE-15:Update update project.
    last seen2020-06-01
    modified2020-06-02
    plugin id131009
    published2019-11-14
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/131009
    titleopenSUSE Security Update : rsyslog (openSUSE-2019-2500)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update openSUSE-2019-2500.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(131009);
      script_version("1.2");
      script_cvs_date("Date: 2019/12/12");
    
      script_cve_id("CVE-2019-17041", "CVE-2019-17042");
    
      script_name(english:"openSUSE Security Update : rsyslog (openSUSE-2019-2500)");
      script_summary(english:"Check for the openSUSE-2019-2500 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update for rsyslog fixes the following issues :
    
    Security issues fixed :
    
      - CVE-2019-17041: Fixed a heap overflow in the parser for
        AIX log messages (bsc#1153451).
    
      - CVE-2019-17042: Fixed a heap overflow in the parser for
        Cisco log messages (bsc#1153459).
    
    Other issue addressed :
    
      - Fixed an issue where rsyslog was SEGFAULT due to a mutex
        double-unlock (bsc#1141063). 
    
    This update was imported from the SUSE:SLE-15:Update update project."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1141063"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1153451"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1153459"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected rsyslog packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-diag-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-diag-tools-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-dbi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-dbi-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-elasticsearch");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-elasticsearch-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-gcrypt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-gcrypt-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-gssapi");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-gssapi-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-gtls");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-gtls-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-mmnormalize");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-mmnormalize-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-mysql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-mysql-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-omamqp1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-omamqp1-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-omhttpfs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-omhttpfs-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-omtcl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-omtcl-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-pgsql");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-pgsql-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-relp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-relp-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-snmp");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-snmp-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-udpspoof");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:rsyslog-module-udpspoof-debuginfo");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:15.0");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2019/10/07");
      script_set_attribute(attribute:"patch_publication_date", value:"2019/11/13");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/11/14");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/SuSE/release");
    if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE");
    if (release !~ "^(SUSE15\.0)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "15.0", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    ourarch = get_kb_item("Host/cpu");
    if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
    if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-debugsource-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-diag-tools-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-diag-tools-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-dbi-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-dbi-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-elasticsearch-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-elasticsearch-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-gcrypt-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-gcrypt-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-gssapi-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-gssapi-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-gtls-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-gtls-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-mmnormalize-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-mmnormalize-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-mysql-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-mysql-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-omamqp1-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-omamqp1-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-omhttpfs-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-omhttpfs-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-omtcl-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-omtcl-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-pgsql-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-pgsql-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-relp-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-relp-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-snmp-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-snmp-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-udpspoof-8.33.1-lp150.2.19.1") ) flag++;
    if ( rpm_check(release:"SUSE15.0", reference:"rsyslog-module-udpspoof-debuginfo-8.33.1-lp150.2.19.1") ) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "rsyslog / rsyslog-debuginfo / rsyslog-debugsource / etc");
    }
    
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2020-1000.NASL
    descriptionThe remote Redhat Enterprise Linux 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2020:1000 advisory. - rsyslog: heap-based overflow in contrib/pmaixforwardedfrom/pmaixforwardedfrom.c (CVE-2019-17041) - rsyslog: heap-based overflow in contrib/pmcisconames/pmcisconames.c (CVE-2019-17042) Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-04-23
    modified2020-04-01
    plugin id135052
    published2020-04-01
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/135052
    titleRHEL 7 : rsyslog (RHSA-2020:1000)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2020-0424-1.NASL
    descriptionThis update for rsyslog fixes the following issues : Security issues fixed : CVE-2019-17041: Fixed a heap overflow in the parser for AIX log messages (bsc#1153451). CVE-2019-17042: Fixed a heap overflow in the parser for Cisco log messages (bsc#1153459). Non-security issues fixed: Handle multiline messages correctly when using the imfile module. (bsc#1015203) Fix a race condition in the shutdown sequence in wtp that was causing rsyslog not to shutdown properly. (bsc#1022804) Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-18
    modified2020-02-20
    plugin id133839
    published2020-02-20
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/133839
    titleSUSE SLES12 Security Update : rsyslog (SUSE-SU-2020:0424-1)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2019-2937-1.NASL
    descriptionThis update for rsyslog fixes the following issues : Security issues fixed : CVE-2019-17041: Fixed a heap overflow in the parser for AIX log messages (bsc#1153451). CVE-2019-17042: Fixed a heap overflow in the parser for Cisco log messages (bsc#1153459). Other issue addressed: Fixed an issue where rsyslog was SEGFAULT due to a mutex double-unlock (bsc#1141063). Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id130899
    published2019-11-12
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/130899
    titleSUSE SLED15 / SLES15 Security Update : rsyslog (SUSE-SU-2019:2937-1)
  • NASL familyPhotonOS Local Security Checks
    NASL idPHOTONOS_PHSA-2019-2_0-0184_RSYSLOG.NASL
    descriptionAn update of the rsyslog package has been released.
    last seen2020-06-01
    modified2020-06-02
    plugin id130204
    published2019-10-25
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/130204
    titlePhoton OS 2.0: Rsyslog PHSA-2019-2.0-0184
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2020-1000.NASL
    descriptionThe remote Redhat Enterprise Linux 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2020:1000 advisory. - rsyslog: heap-based overflow in contrib/pmaixforwardedfrom/pmaixforwardedfrom.c (CVE-2019-17041) - rsyslog: heap-based overflow in contrib/pmcisconames/pmcisconames.c (CVE-2019-17042) Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-06-06
    modified2020-04-10
    plugin id135313
    published2020-04-10
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/135313
    titleCentOS 7 : rsyslog (CESA-2020:1000)
  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20200407_RSYSLOG_ON_SL7_X.NASL
    description* rsyslog: heap-based overflow in contrib/pmaixforwardedfrom/pmaixforwardedfrom.c * rsyslog: heap-based overflow in contrib/pmcisconames/pmcisconames.c
    last seen2020-04-30
    modified2020-04-21
    plugin id135835
    published2020-04-21
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/135835
    titleScientific Linux Security Update : rsyslog on SL7.x x86_64 (20200407)
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2019-2229.NASL
    descriptionAccording to the versions of the rsyslog packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - 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.(CVE-2019-17041) - An issue was discovered in Rsyslog v8.1908.0. contrib/pmcisconames/pmcisconames.c has a heap overflow in the parser for Cisco 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.(CVE-2019-17042) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-05-08
    modified2019-11-08
    plugin id130691
    published2019-11-08
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/130691
    titleEulerOS 2.0 SP5 : rsyslog (EulerOS-SA-2019-2229)
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2020-1060.NASL
    descriptionAccording to the versions of the rsyslog packages installed, the EulerOS Virtualization for ARM 64 installation on the remote host is affected by the following vulnerabilities : - An issue was discovered in Rsyslog v8.1908.0. contrib/pmcisconames/pmcisconames.c has a heap overflow in the parser for Cisco 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.(CVE-2019-17042) - 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.(CVE-2019-17041) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id132814
    published2020-01-13
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/132814
    titleEulerOS Virtualization for ARM 64 3.0.5.0 : rsyslog (EulerOS-SA-2020-1060)
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2019-2418.NASL
    descriptionAccording to the versions of the rsyslog packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - 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.(CVE-2019-17041) - An issue was discovered in Rsyslog v8.1908.0. contrib/pmcisconames/pmcisconames.c has a heap overflow in the parser for Cisco 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.(CVE-2019-17042) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-05-08
    modified2019-12-10
    plugin id131910
    published2019-12-10
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/131910
    titleEulerOS 2.0 SP2 : rsyslog (EulerOS-SA-2019-2418)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2020-1702.NASL
    descriptionThe remote Redhat Enterprise Linux 8 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2020:1702 advisory. - rsyslog: heap-based overflow in contrib/pmaixforwardedfrom/pmaixforwardedfrom.c (CVE-2019-17041) - rsyslog: heap-based overflow in contrib/pmcisconames/pmcisconames.c (CVE-2019-17042) Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-04-30
    modified2020-04-28
    plugin id136059
    published2020-04-28
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/136059
    titleRHEL 8 : rsyslog (RHSA-2020:1702)
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2019-2501.NASL
    descriptionThis update for rsyslog fixes the following issues : Security issues fixed : - CVE-2019-17041: Fixed a heap overflow in the parser for AIX log messages (bsc#1153451). - CVE-2019-17042: Fixed a heap overflow in the parser for Cisco log messages (bsc#1153459). Other issue addressed : - Fixed an issue where rsyslog was SEGFAULT due to a mutex double-unlock (bsc#1141063). This update was imported from the SUSE:SLE-15:Update update project.
    last seen2020-06-01
    modified2020-06-02
    plugin id131010
    published2019-11-14
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/131010
    titleopenSUSE Security Update : rsyslog (openSUSE-2019-2501)
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2019-2659.NASL
    descriptionAccording to the versions of the rsyslog packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - 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.(CVE-2019-17041) - An issue was discovered in Rsyslog v8.1908.0. contrib/pmcisconames/pmcisconames.c has a heap overflow in the parser for Cisco 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.(CVE-2019-17042) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-05-08
    modified2019-12-18
    plugin id132194
    published2019-12-18
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/132194
    titleEulerOS 2.0 SP3 : rsyslog (EulerOS-SA-2019-2659)
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2020-1276.NASL
    descriptionAccording to the versions of the rsyslog packages installed, the EulerOS Virtualization installation on the remote host is affected by the following vulnerabilities : - An issue was discovered in Rsyslog v8.1908.0. contrib/pmcisconames/pmcisconames.c has a heap overflow in the parser for Cisco 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.(CVE-2019-17042) - 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.(CVE-2019-17041) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-26
    modified2020-03-20
    plugin id134742
    published2020-03-20
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/134742
    titleEulerOS Virtualization 3.0.2.2 : rsyslog (EulerOS-SA-2020-1276)
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2020-0512-1.NASL
    descriptionThis update for rsyslog fixes the following issues : Security issues fixed : CVE-2019-17041: Fixed a heap overflow in the parser for AIX log messages (bsc#1153451). CVE-2019-17042: Fixed a heap overflow in the parser for Cisco log messages (bsc#1153459). Non-security issues fixed: Handle multiline messages correctly when using the imfile module. (bsc#1015203) Fix a race condition in the shutdown sequence in wtp that was causing rsyslog not to shutdown properly. (bsc#1022804) Fixed a rsyslogd SIGABORT crash if a path does not exists (bsc#1087920). Fixed an issue where configuration templates where not consistently flushed (bsc#1084682). Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-18
    modified2020-02-28
    plugin id134160
    published2020-02-28
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/134160
    titleSUSE SLES12 Security Update : rsyslog (SUSE-SU-2020:0512-1)
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2019-2302.NASL
    descriptionAccording to the versions of the rsyslog packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - 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.(CVE-2019-17041) - An issue was discovered in Rsyslog v8.1908.0. contrib/pmcisconames/pmcisconames.c has a heap overflow in the parser for Cisco 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.(CVE-2019-17042) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-05-03
    modified2019-11-27
    plugin id131368
    published2019-11-27
    reporterThis script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/131368
    titleEulerOS 2.0 SP8 : rsyslog (EulerOS-SA-2019-2302)
  • NASL familyHuawei Local Security Checks
    NASL idEULEROS_SA-2020-1218.NASL
    descriptionAccording to the versions of the rsyslog packages installed, the EulerOS Virtualization for ARM 64 installation on the remote host is affected by the following vulnerabilities : - An issue was discovered in Rsyslog v8.1908.0. contrib/pmcisconames/pmcisconames.c has a heap overflow in the parser for Cisco 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.(CVE-2019-17042) - 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.(CVE-2019-17041) Note that Tenable Network Security has extracted the preceding description block directly from the EulerOS security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-03-19
    modified2020-03-13
    plugin id134507
    published2020-03-13
    reporterThis script is Copyright (C) 2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/134507
    titleEulerOS Virtualization for ARM 64 3.0.2.0 : rsyslog (EulerOS-SA-2020-1218)

Redhat

advisories
  • bugzilla
    id1766700
    titleCVE-2019-17042 rsyslog: heap-based overflow in contrib/pmcisconames/pmcisconames.c
    oval
    OR
    • commentRed Hat Enterprise Linux must be installed
      ovaloval:com.redhat.rhba:tst:20070304026
    • AND
      • commentRed Hat Enterprise Linux 7 is installed
        ovaloval:com.redhat.rhba:tst:20150364027
      • OR
        • AND
          • commentrsyslog-relp is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000001
          • commentrsyslog-relp is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111247010
        • AND
          • commentrsyslog-pgsql is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000003
          • commentrsyslog-pgsql is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111247002
        • AND
          • commentrsyslog-mysql is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000005
          • commentrsyslog-mysql is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111247004
        • AND
          • commentrsyslog-mmjsonparse is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000007
          • commentrsyslog-mmjsonparse is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397020
        • AND
          • commentrsyslog-kafka is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000009
          • commentrsyslog-kafka is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20192110012
        • AND
          • commentrsyslog-gssapi is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000011
          • commentrsyslog-gssapi is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111247006
        • AND
          • commentrsyslog-gnutls is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000013
          • commentrsyslog-gnutls is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111247008
        • AND
          • commentrsyslog is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000015
          • commentrsyslog is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111247012
        • AND
          • commentrsyslog-doc is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000017
          • commentrsyslog-doc is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397002
        • AND
          • commentrsyslog-udpspoof is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000019
          • commentrsyslog-udpspoof is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397006
        • AND
          • commentrsyslog-snmp is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000021
          • commentrsyslog-snmp is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20120796002
        • AND
          • commentrsyslog-mmsnmptrapd is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000023
          • commentrsyslog-mmsnmptrapd is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397014
        • AND
          • commentrsyslog-mmnormalize is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000025
          • commentrsyslog-mmnormalize is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397018
        • AND
          • commentrsyslog-mmkubernetes is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000027
          • commentrsyslog-mmkubernetes is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20192110030
        • AND
          • commentrsyslog-mmaudit is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000029
          • commentrsyslog-mmaudit is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397008
        • AND
          • commentrsyslog-libdbi is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000031
          • commentrsyslog-libdbi is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397016
        • AND
          • commentrsyslog-elasticsearch is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000033
          • commentrsyslog-elasticsearch is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397012
        • AND
          • commentrsyslog-crypto is earlier than 0:8.24.0-52.el7
            ovaloval:com.redhat.rhsa:tst:20201000035
          • commentrsyslog-crypto is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397010
    rhsa
    idRHSA-2020:1000
    released2020-03-31
    severityModerate
    titleRHSA-2020:1000: rsyslog security, bug fix, and enhancement update (Moderate)
  • bugzilla
    id1782353
    titlegnutls cerficate validity default changed from deny to warn
    oval
    OR
    • commentRed Hat Enterprise Linux must be installed
      ovaloval:com.redhat.rhba:tst:20070304026
    • AND
      • commentRed Hat Enterprise Linux 8 is installed
        ovaloval:com.redhat.rhba:tst:20193384074
      • OR
        • AND
          • commentrsyslog-doc is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702001
          • commentrsyslog-doc is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397002
        • AND
          • commentrsyslog-debugsource is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702003
          • commentrsyslog-debugsource is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20201702004
        • AND
          • commentrsyslog-snmp is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702005
          • commentrsyslog-snmp is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20120796002
        • AND
          • commentrsyslog-relp is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702007
          • commentrsyslog-relp is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111247010
        • AND
          • commentrsyslog-pgsql is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702009
          • commentrsyslog-pgsql is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111247002
        • AND
          • commentrsyslog-mysql is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702011
          • commentrsyslog-mysql is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111247004
        • AND
          • commentrsyslog-mmsnmptrapd is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702013
          • commentrsyslog-mmsnmptrapd is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397014
        • AND
          • commentrsyslog-mmnormalize is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702015
          • commentrsyslog-mmnormalize is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397018
        • AND
          • commentrsyslog-mmkubernetes is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702017
          • commentrsyslog-mmkubernetes is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20192110030
        • AND
          • commentrsyslog-mmjsonparse is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702019
          • commentrsyslog-mmjsonparse is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397020
        • AND
          • commentrsyslog-mmaudit is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702021
          • commentrsyslog-mmaudit is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397008
        • AND
          • commentrsyslog-kafka is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702023
          • commentrsyslog-kafka is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20192110012
        • AND
          • commentrsyslog-gssapi is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702025
          • commentrsyslog-gssapi is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111247006
        • AND
          • commentrsyslog-gnutls is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702027
          • commentrsyslog-gnutls is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111247008
        • AND
          • commentrsyslog-elasticsearch is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702029
          • commentrsyslog-elasticsearch is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397012
        • AND
          • commentrsyslog-crypto is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702031
          • commentrsyslog-crypto is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20141397010
        • AND
          • commentrsyslog is earlier than 0:8.1911.0-3.el8
            ovaloval:com.redhat.rhsa:tst:20201702033
          • commentrsyslog is signed with Red Hat redhatrelease2 key
            ovaloval:com.redhat.rhsa:tst:20111247012
    rhsa
    idRHSA-2020:1702
    released2020-04-28
    severityModerate
    titleRHSA-2020:1702: rsyslog security, bug fix, and enhancement update (Moderate)
rpms
  • rsyslog-0:8.24.0-52.el7
  • rsyslog-crypto-0:8.24.0-52.el7
  • rsyslog-debuginfo-0:8.24.0-52.el7
  • rsyslog-doc-0:8.24.0-52.el7
  • rsyslog-elasticsearch-0:8.24.0-52.el7
  • rsyslog-gnutls-0:8.24.0-52.el7
  • rsyslog-gssapi-0:8.24.0-52.el7
  • rsyslog-kafka-0:8.24.0-52.el7
  • rsyslog-libdbi-0:8.24.0-52.el7
  • rsyslog-mmaudit-0:8.24.0-52.el7
  • rsyslog-mmjsonparse-0:8.24.0-52.el7
  • rsyslog-mmkubernetes-0:8.24.0-52.el7
  • rsyslog-mmnormalize-0:8.24.0-52.el7
  • rsyslog-mmsnmptrapd-0:8.24.0-52.el7
  • rsyslog-mysql-0:8.24.0-52.el7
  • rsyslog-pgsql-0:8.24.0-52.el7
  • rsyslog-relp-0:8.24.0-52.el7
  • rsyslog-snmp-0:8.24.0-52.el7
  • rsyslog-udpspoof-0:8.24.0-52.el7
  • rsyslog-0:8.1911.0-3.el8
  • rsyslog-crypto-0:8.1911.0-3.el8
  • rsyslog-crypto-debuginfo-0:8.1911.0-3.el8
  • rsyslog-debuginfo-0:8.1911.0-3.el8
  • rsyslog-debugsource-0:8.1911.0-3.el8
  • rsyslog-doc-0:8.1911.0-3.el8
  • rsyslog-elasticsearch-0:8.1911.0-3.el8
  • rsyslog-elasticsearch-debuginfo-0:8.1911.0-3.el8
  • rsyslog-gnutls-0:8.1911.0-3.el8
  • rsyslog-gnutls-debuginfo-0:8.1911.0-3.el8
  • rsyslog-gssapi-0:8.1911.0-3.el8
  • rsyslog-gssapi-debuginfo-0:8.1911.0-3.el8
  • rsyslog-kafka-0:8.1911.0-3.el8
  • rsyslog-kafka-debuginfo-0:8.1911.0-3.el8
  • rsyslog-mmaudit-0:8.1911.0-3.el8
  • rsyslog-mmaudit-debuginfo-0:8.1911.0-3.el8
  • rsyslog-mmjsonparse-0:8.1911.0-3.el8
  • rsyslog-mmjsonparse-debuginfo-0:8.1911.0-3.el8
  • rsyslog-mmkubernetes-0:8.1911.0-3.el8
  • rsyslog-mmkubernetes-debuginfo-0:8.1911.0-3.el8
  • rsyslog-mmnormalize-0:8.1911.0-3.el8
  • rsyslog-mmnormalize-debuginfo-0:8.1911.0-3.el8
  • rsyslog-mmsnmptrapd-0:8.1911.0-3.el8
  • rsyslog-mmsnmptrapd-debuginfo-0:8.1911.0-3.el8
  • rsyslog-mysql-0:8.1911.0-3.el8
  • rsyslog-mysql-debuginfo-0:8.1911.0-3.el8
  • rsyslog-pgsql-0:8.1911.0-3.el8
  • rsyslog-pgsql-debuginfo-0:8.1911.0-3.el8
  • rsyslog-relp-0:8.1911.0-3.el8
  • rsyslog-relp-debuginfo-0:8.1911.0-3.el8
  • rsyslog-snmp-0:8.1911.0-3.el8
  • rsyslog-snmp-debuginfo-0:8.1911.0-3.el8