Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1yOGY0LWh2MjMtNnFwNs4AA5Kq
Norman API Cross-site Scripting Vulnerability
Impact
A vulnerability has been identified in which unauthenticated cross-site scripting (XSS) in Norman's public API endpoint can be exploited. This can lead to an attacker exploiting the vulnerability to trigger JavaScript code and execute commands remotely.
The attack vector was identified as a Reflected XSS.
Norman API propagates malicious payloads from user input to the UI, which renders the output. For example, a malicious URL gets rendered into a script that is executed on a page.
The changes addressed by this fix are:
- Encode input that comes from the request URL before adding it to the response.
- The request input is escaped by changing the URL construction that is used for links to use
url.URL
. - The request input is escaped by escaping the JavaScript and CSS variables with attribute encoding as defined by OWASP.
Patches
Patched versions include the following commits:
Branch | Commit |
---|---|
master | 3bb70b7 |
release/v2.8 | a6a6cf5 |
release/v2.7 | cb54924 |
release/v2.7.s3 | 7b2b467 |
release/v2.6 | bd13c65 |
Workarounds
There is no direct mitigation besides updating Norman API to a patched version.
References
If you have any questions or comments about this advisory:
- Reach out to the SUSE Rancher Security team for security-related inquiries.
- Open an issue in the Rancher repository.
- Verify with our support matrix and product support lifecycle.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1yOGY0LWh2MjMtNnFwNs4AA5Kq
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 10 months ago
Updated: about 2 months ago
CVSS Score: 8.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
Identifiers: GHSA-r8f4-hv23-6qp6, CVE-2023-32193
References:
- https://github.com/rancher/norman/security/advisories/GHSA-r8f4-hv23-6qp6
- https://github.com/rancher/norman/commit/3bb70b772b52297feac64f5fdeb1b13c06c37e39
- https://github.com/rancher/norman/commit/7b2b467995e6dfab6d4a5dee8dffc15033ae8269
- https://github.com/rancher/norman/commit/a6a6cf5696088c32002953d36b75bdcc84f2399e
- https://github.com/rancher/norman/commit/bd13c653293b9b5e0b37e8a6ccd1c3277f4623ed
- https://github.com/rancher/norman/commit/cb54924f25c7666511a913cd41834299ef22dba4
- https://nvd.nist.gov/vuln/detail/CVE-2023-32193
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2023-32193
- https://github.com/advisories/GHSA-r8f4-hv23-6qp6
Blast Radius: 19.1
Affected Packages
go:github.com/rancher/norman
Dependent packages: 176Dependent repositories: 198
Downloads:
Affected Version Ranges: < 0.0.0-20240207153100-3bb70b772b52
Fixed in: 0.0.0-20240207153100-3bb70b772b52
All affected versions: 0.0.0-20171129213526-5ec6a8d71991, 0.0.0-20171212040934-e656484b264a, 0.0.0-20171229222314-16783cf1d364, 0.0.0-20180117011122-67264fa498b1, 0.0.0-20180118054253-986c94965f9b, 0.0.0-20181024232930-dfeffc8a3f68, 0.0.0-20181031202355-6c7654a69fb6, 0.0.0-20190320233118-cbe5d5f65897, 0.0.0-20190410164429-03b89d4fb714, 0.0.0-20190819214003-cbc49d7ce77d, 0.0.0-20200930000340-693d65aaffe3, 0.0.0-20210709145327-afd06f533ca3, 0.0.0-20211201154850-abe17976423e, 0.0.0-20220621173721-cba80063e705, 0.0.0-20220627222520-b74009fac3ff, 0.0.0-20220719193118-e21cabdc65b9, 0.0.0-20221128183131-19eed065379d, 0.0.0-20221203032702-c94343988898, 0.0.0-20221205184727-32ef2e185b99, 0.0.0-20221209004016-e457eb553ce6, 0.0.0-20221228020905-1dcd4fa94899, 0.0.0-20230110004459-34230bb2787c, 0.0.0-20230222213531-275a3e921940, 0.0.0-20230328153514-ae12f166495a, 0.0.0-20230426211126-d3552b018687, 0.0.0-20230426211157-18989f78fc0a, 0.0.0-20230428185400-96b95e3475e0, 0.0.0-20230809232250-ccd31a468197, 0.0.0-20230810202819-0dfd6db27cde, 0.0.0-20230810204738-fb9961e3ec21, 0.0.0-20230810211531-36cac11a1408, 0.0.0-20230811152901-078862e5648c, 0.0.0-20230831051620-5bc994117ac6, 0.0.0-20230831160711-5de27f66385d
All unaffected versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.5.0