ghsa-86rg-pf4c-5grg
Vulnerability from github
Published
2024-01-04 12:30
Modified
2024-02-05 17:59
Severity ?
Summary
@backstage/backend-app-api leaks GitLab access tokens
Details
A flaw was found in the Red Hat Developer Hub (RHDH). The catalog-import function leaks GitLab access tokens on the frontend when the base64 encoded GitLab token includes a newline at the end of the string. The sanitized error can display on the frontend, including the raw access token. Upon gaining access to this token and depending on permissions, an attacker could push malicious code to repositories, delete resources in Git, revoke or generate new keys, and sign code illegitimately.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "@backstage/backend-app-api" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.5.9-next.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2023-6944" ], "database_specific": { "cwe_ids": [ "CWE-200", "CWE-209" ], "github_reviewed": true, "github_reviewed_at": "2024-02-05T17:59:41Z", "nvd_published_at": "2024-01-04T10:15:11Z", "severity": "HIGH" }, "details": "A flaw was found in the Red Hat Developer Hub (RHDH). The catalog-import function leaks GitLab access tokens on the frontend when the base64 encoded GitLab token includes a newline at the end of the string. The sanitized error can display on the frontend, including the raw access token. Upon gaining access to this token and depending on permissions, an attacker could push malicious code to repositories, delete resources in Git, revoke or generate new keys, and sign code illegitimately.", "id": "GHSA-86rg-pf4c-5grg", "modified": "2024-02-05T17:59:41Z", "published": "2024-01-04T12:30:20Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-6944" }, { "type": "WEB", "url": "https://github.com/backstage/backstage/issues/21503" }, { "type": "WEB", "url": "https://github.com/backstage/backstage/pull/21582" }, { "type": "WEB", "url": "https://github.com/backstage/backstage/commit/0382db60f6c8e8715a702bde6408ad10a48d8e11" }, { "type": "WEB", "url": "https://access.redhat.com/security/cve/CVE-2023-6944" }, { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2255204" }, { "type": "PACKAGE", "url": "https://github.com/backstage/backstage" }, { "type": "WEB", "url": "https://github.com/backstage/backstage/blob/master/docs/releases/v1.21.0-next.2-changelog.md" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N", "type": "CVSS_V3" } ], "summary": "@backstage/backend-app-api leaks GitLab access tokens" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.