CVE-2019-11291: Rabbit common Cross-Site Scripting Vulnerability

LOW
Advisory Identifier: GHSA-9pf7-f47q-mwpq
CVSS 3.5
CWE-79
Published
Advisory Summary

CVE-2019-11291 is a LOW (CVSS 3.5) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Rabbit common libraries in the Hex ecosystem. The issue involves cross-site scripting in rabbitmq. Remediation is available by upgrading affected packages to version 3.7.20, 3.8.1.

CVE-2019-11291 at a Glance

CVE Identifier CVE-2019-11291
GHSA Identifier GHSA-9pf7-f47q-mwpq
Severity LOW
CVSS v3.1 Base Score 3.5
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Rabbit common
Package Ecosystem Hex
Published Date
Last Updated

Security Impact

CVSS: 3.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2019-11291

To remediate this vulnerability, upgrade all affected Rabbit common dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

rabbit_common fixed: 3.7.20
Upgrade rabbit_common to 3.7.20
rabbit_common fixed: 3.8.1
Upgrade rabbit_common to 3.8.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for rabbit_common

How to Check if You Are Affected

To determine whether your application is affected by CVE-2019-11291, inspect your project dependencies for Rabbit common:

inspect dependencies for rabbit_common

Analyze the terminal output to locate any version of Rabbit common in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.7.20), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Rabbit common, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Pivotal RabbitMQ, 3.7 versions prior to v3.7.20 and 3.8 version prior to v3.8.1, and RabbitMQ for PCF, 1.16.x versions prior to 1.16.7 and 1.17.x versions prior to 1.17.4, contain two endpoints, federation and shovel, which do not properly sanitize user input. A remote authenticated malicious user with administrative access could craft a cross site scripting attack via the vhost or node name fields that could grant access to virtual hosts and policy management information.

CVE-2019-11291 Affected Rabbit common Versions

2 component(s)
Fixed Versions:
3.7.203.8.1
Product / Package Ecosystem Affected Versions Fixed Version
rabbit_common
Hex
≥ 3.7.0
< 3.7.20
3.7.20
rabbit_common
Hex
≥ 3.8.0
< 3.8.1
3.8.1

References

Frequently Asked Questions

What is CVE-2019-11291?
CVE-2019-11291 is a security vulnerability in Rabbit common involving Cross-site Scripting in RabbitMQ under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Rabbit common versions are affected?
Affected versions include releases prior to 3.7.20, 3.8.1 across affected packages: rabbit_common.
What version fixes CVE-2019-11291?
Upgrading to 3.7.20, 3.8.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is rabbit_common affected?
Yes, rabbit_common is affected in releases prior to 3.7.20, 3.8.1. Upgrade your dependency to 3.7.20, 3.8.1 or later.
What is the CVSS score of CVE-2019-11291?
CVE-2019-11291 has a CVSS v3.1 base score of 3.5 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2019-11291?
CVE-2019-11291 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Hex dependencies for CVE-2019-11291?
Run the dependency tree command: 'inspect dependencies for rabbit_common'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9pf7-f47q-mwpq",
  "modified" : "2022-07-05T21:19:07Z",
  "published" : "2022-05-24T17:01:50Z",
  "aliases" : [ "CVE-2019-11291" ],
  "summary" : "Cross-site Scripting in RabbitMQ",
  "details" : "Pivotal RabbitMQ, 3.7 versions prior to v3.7.20 and 3.8 version prior to v3.8.1, and RabbitMQ for PCF, 1.16.x versions prior to 1.16.7 and 1.17.x versions prior to 1.17.4, contain two endpoints, federation and shovel, which do not properly sanitize user input. A remote authenticated malicious user with administrative access could craft a cross site scripting attack via the vhost or node name fields that could grant access to virtual hosts and policy management information.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Hex",
      "name" : "rabbit_common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.7.0"
      }, {
        "fixed" : "3.7.20"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Hex",
      "name" : "rabbit_common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.8.0"
      }, {
        "fixed" : "3.8.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-11291"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2020:0553"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/rabbitmq/rabbitmq-server"
  }, {
    "type" : "WEB",
    "url" : "https://pivotal.io/security/cve-2019-11291"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-07-05T21:19:07Z",
    "nvd_published_at" : "2019-11-22T23:15:00Z"
  }
}