Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS04MzNtLTM3ZjctanE1Nc4AA5Kr

Rancher API Server Cross-site Scripting Vulnerability

Impact

A vulnerability has been identified in which unauthenticated cross-site scripting (XSS) in the API Server'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.

API Server 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:

Patches

Patched versions include the following commits:

Branch Commit
master 4fd7d82
release/v2.8 69b3c2b
release/v2.8.s3 a3b9e37
release/v2.7 4e102cf
release/v2.7.s3 97a10a3
release/v2.6 4df268e

Workarounds

There is no direct mitigation besides updating API Server to a patched version.

References

If you have any questions or comments about this advisory:

Permalink: https://github.com/advisories/GHSA-833m-37f7-jq55
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04MzNtLTM3ZjctanE1Nc4AA5Kr
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-833m-37f7-jq55, CVE-2023-32192
References: Repository: https://github.com/rancher/apiserver
Blast Radius: 16.8

Affected Packages

go:github.com/rancher/apiserver
Dependent packages: 51
Dependent repositories: 107
Downloads:
Affected Version Ranges: < 0.0.0-20240207153957-4fd7d821d952
Fixed in: 0.0.0-20240207153957-4fd7d821d952
All affected versions: 0.0.0-20201023000256-1a0a904f9197, 0.0.0-20220610164457-643f1d19e3fc, 0.0.0-20221019172825-fe12f2183e71, 0.0.0-20221205175736-7c507bd5c076, 0.0.0-20221220225852-94cba4f28cfd, 0.0.0-20221229135954-26bed53611c4, 0.0.0-20230120214941-e88c32739dc7, 0.0.0-20230222210737-8e1da4c6d53e, 0.0.0-20230426211119-c75d1c70aa2b, 0.0.0-20230508201313-13b7e4889f99, 0.0.0-20230515173455-c3b182bdbf7d, 0.0.0-20230525191144-cc8f3892d011, 0.0.0-20230727181320-c84375939328, 0.0.0-20230809162532-de731cd43b96, 0.0.0-20230810200109-ed9bd39ea702, 0.0.0-20230810214006-d134152ce6fb, 0.0.0-20230831052300-120e615b17ba
All unaffected versions: 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.5.0, 0.5.1