{"answers":{"affected":"2 open source packages ship an affected version, including @backstage/backend-app-api. It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-6944 in the wild and no public exploit code.","fix":"Upgrade @backstage/backend-app-api to 0.5.9-next.1 or later.","what":"CVE-2023-6944 is a medium-severity vulnerability in Linuxfoundation Backstage, published on 4 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-6944 and fix it if it is affected.\n\nWhat it is: CVE-2023-6944 is a medium-severity vulnerability in Linuxfoundation Backstage, published on 4 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-6944 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @backstage/backend-app-api (npm): affected all versions; fixed in 0.5.9-next.1\n- @backstage/backend-app-api (npm): affected all versions; fixed in 0.5.9-next.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-6944/ (Markdown: https://insights.sbomify.com/CVE-2023-6944/index.md)","id":"CVE-2023-6944","markdown":"https://insights.sbomify.com/CVE-2023-6944/index.md","name":"CVE-2023-6944","record":{"aliases":["GHSA-86rg-pf4c-5grg"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Red Hat Developer Hub","requires_auth":"low_privilege","summary":"Attackers can view leaked GitLab access tokens in frontend error messages, enabling unauthorized repository access and code manipulation.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"backstage","vendor":"linuxfoundation"},{"product":"red_hat_developer_hub","vendor":"redhat"}],"cvss":{"score":5.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Rhdh: catalog-import function leaks credentials to frontend","id":"CVE-2023-6944","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"linuxfoundation:backstage","products":["linuxfoundation:backstage"],"type":"information_disclosure","year":"2023"},"n_packages":2,"n_references":3,"next":{"headline":"SourceCodester Online Student Management System edit-student-detail.php cross site scripting","id":"CVE-2023-6945"},"packages":[{"ecosystem":"npm","fixed":["0.5.9-next.1"],"introduced":["0"],"last_affected":[],"package":"@backstage/backend-app-api","purl":null,"source":"GHSA-86rg-pf4c-5grg"},{"ecosystem":"npm","fixed":["0.5.9-next.1"],"introduced":["0"],"last_affected":[],"package":"@backstage/backend-app-api","purl":"pkg:npm/%40backstage/backend-app-api","source":"GHSA-86rg-pf4c-5grg"}],"prev":{"headline":"Code injection in EZSocket","id":"CVE-2023-6943"},"products":["RHDH-1.1-RHEL-9"],"published":"2024-01-04","related":[{"cvss_score":9.6,"headline":"Backstage: Sensitive information exposure in Scaffolder","id":"CVE-2026-106501","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":8.8,"headline":"Backstage: Improper validation of TechDocs MkDocs configuration","id":"CVE-2026-106558","kev_date_added":null,"published":"2026-10-07"},{"cvss_score":8.8,"headline":"Backstage: Improper input validation in TechDocs MkDocs configuration","id":"CVE-2026-88064","kev_date_added":null,"published":"2026-09-16"},{"cvss_score":8.5,"headline":"Backstage: Improper input validation in Sentry scaffolder actions","id":"CVE-2026-106459","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":8.5,"headline":"Backstage: Improper filesystem validation in Bitbucket pull-request scaffolder actions","id":"CVE-2026-106486","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":8.5,"headline":"Backstage: Improper task state validation in Scaffolder backend","id":"CVE-2026-106500","kev_date_added":null,"published":"2026-10-06"},{"cvss_score":8.5,"headline":"Path Traversal in @backstage/plugin-scaffolder-backend","id":"CVE-2021-43783","kev_date_added":null,"published":"2021-11-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-20","vendors":["Red Hat"]},"summary":"Attackers can view leaked GitLab access tokens in frontend error messages, enabling unauthorized repository access and code manipulation.","url":"https://insights.sbomify.com/CVE-2023-6944/"}