CVE-2023-28444
Published on: Not Yet Published
Last Modified on: 04/03/2023 05:57:00 PM UTC
Certain versions of Angular-server-side-configuration from Angular-server-side-configuration Project contain the following vulnerability:
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. During 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.
- CVE-2023-28444 has been assigned by
[email protected]om to track the vulnerability - currently rated as HIGH severity.
- Affected Vendor/Software:
kyubisation - angular-server-side-configuration version = >= 15.0.0, < 15.1.0
CVSS3 Score: 7.5 - HIGH
Attack Vector ⓘ |
Attack Complexity |
Privileges Required |
User Interaction |
---|---|---|---|
NETWORK | LOW | NONE | NONE |
Scope | Confidentiality Impact |
Integrity Impact |
Availability Impact |
UNCHANGED | HIGH | NONE | NONE |
CVE References
Description | Tags ⓘ | Link |
---|---|---|
angular-server-side-configuration information disclosure vulnerability in monorepo with node.js backend · Advisory · kyubisation/angular-server-side-configuration · GitHub | github.com text/html |
![]() |
Release v15.1.0 · kyubisation/angular-server-side-configuration · GitHub | github.com text/html |
![]() |
feat: add searchPattern as an option and restrict default search patt… · kyubisation/[email protected] · GitHub | github.com text/html |
![]() |
Known Affected Configurations (CPE V2.3)
Type | Vendor | Product | Version | Update | Edition | Language |
---|---|---|---|---|---|---|
Application | Angular-server-side-configuration Project | Angular-server-side-configuration | All | All | All | All |
- cpe:2.3:a:angular-server-side-configuration_project:angular-server-side-configuration:*:*:*:*:*:*:*:*:
Social Mentions
Source | Title | Posted (UTC) |
---|---|---|
![]() |
CVE-2023-28444 : angular-server-side-configuration helps configure an angular application at runtime on the server… twitter.com/i/web/status/1… | 2023-03-24 20:53:38 |
![]() |
CVE-2023-28444 | 2023-03-24 21:38:41 |