CVE-2019-11291: Rabbit common Cross-Site Scripting Vulnerability
LOWCVE-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
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).
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.
Upgrade rabbit_common to 3.7.20
Upgrade rabbit_common to 3.8.1
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
CVE-2019-11291 Affected Rabbit common Versions
2 component(s)| 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?
Which Rabbit common versions are affected?
What version fixes CVE-2019-11291?
Is rabbit_common affected?
What is the CVSS score of CVE-2019-11291?
What CWE is associated with CVE-2019-11291?
How can I check Hex dependencies for CVE-2019-11291?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}