{"answers":{"affected":"2 open source packages ship an affected version, including angular-server-side-configuration. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-28444 in the wild and no public exploit code.","fix":"Upgrade angular-server-side-configuration to 15.1.0 or later.","what":"CVE-2023-28444 is a critical vulnerability in kyubisation angular-server-side-configuration, published on 24 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-28444 and fix it if it is affected.\n\nWhat it is: CVE-2023-28444 is a critical vulnerability in kyubisation angular-server-side-configuration, published on 24 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-28444 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- angular-server-side-configuration (npm): affected from 15.0.0; fixed in 15.1.0\n- angular-server-side-configuration (npm): affected from 15.0.0; fixed in 15.1.0\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-28444/ (Markdown: https://insights.sbomify.com/CVE-2023-28444/index.md)","id":"CVE-2023-28444","markdown":"https://insights.sbomify.com/CVE-2023-28444/index.md","name":"CVE-2023-28444","record":{"aliases":["GHSA-gwvm-vrp4-4pp5"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Angular configuration library","requires_auth":"none","summary":"In monorepo setups, backend environment variables may be exposed in the frontend index.html due to overly broad detection logic.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"angular-server-side-configuration","vendor":"angular-server-side-configuration_project"}],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-538","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"angular-server-side-configuration helps configure an angular application at runtime on the server or in a docker container via environment variables. angular-server-side-configuration detects used environment variables in TypeScript (.ts) files during build time of an Angular CLI project. The detected environment variables are written to a ngssc.json file in the output directory.\nDuring deployment of an Angular based app, the environment variables based on the variables from ngssc.json are inserted into the apps index.html (or defined index file). With version 15.0.0 the environment variable detection was widened to the entire project, relative to the angular.json file from the Angular CLI. In a monorepo setup, this could lead to environment variables intended for a backend/service to be detected and written to the ngssc.json, which would then be populated and exposed via index.html. This has NO IMPACT, in a plain Angular project that has no backend component. This vulnerability has been mitigated in version 15.1.0, by adding an option `searchPattern` which restricts the detection file range by default. As a workaround, manually edit or create ngssc.json or run script after ngssc.json generation.","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":"angular-server-side-configuration information disclosure vulnerability in monorepo with node.js backend","id":"CVE-2023-28444","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":2,"n_references":3,"next":{"headline":"Deno improperly handles resizable ArrayBuffer","id":"CVE-2023-28445"},"packages":[{"ecosystem":"npm","fixed":["15.1.0"],"introduced":["15.0.0"],"last_affected":[],"package":"angular-server-side-configuration","purl":null,"source":"GHSA-gwvm-vrp4-4pp5"},{"ecosystem":"npm","fixed":["15.1.0"],"introduced":["15.0.0"],"last_affected":[],"package":"angular-server-side-configuration","purl":"pkg:npm/angular-server-side-configuration","source":"GHSA-gwvm-vrp4-4pp5"}],"prev":{"headline":"directus vulnerable to Insertion of Sensitive Information into Log File","id":"CVE-2023-28443"},"products":["angular-server-side-configuration"],"published":"2023-03-24","related":[],"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-24","vendors":["kyubisation"]},"summary":"In monorepo setups, backend environment variables may be exposed in the frontend index.html due to overly broad detection logic.","url":"https://insights.sbomify.com/CVE-2023-28444/"}