CVE-2023-48225
Prior to version 1.0.0-beta.13, the control of LAF app enV is not strict enough, and in certain scenarios of privatization environment, it may lead to sensitive information leakage in secret and configmap.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.80%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
Laf is a cloud development platform. Prior to version 1.0.0-beta.13, the control of LAF app enV is not strict enough, and in certain scenarios of privatization environment, it may lead to sensitive information leakage in secret and configmap. In ES6 syntax, if an obj directly references another obj, the name of the obj itself will be used as the key, and the entire object structure will be integrated intact. When constructing the deployment instance of the app, env was found from the database and directly inserted into the template, resulting in controllability here. Sensitive information in the secret and configmap can be read through the k8s envFrom field. In a privatization environment, when `namespaceConf. fixed` is marked, it may lead to the leakage of sensitive information in the system. As of time of publication, it is unclear whether any patches or workarounds exist.
- CVSS 3.1
- 9.1 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS
- 0.80% probability · 54th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-200
- Affected
- laf/laf
- Source
- security-advisories@github.com
References
- https://github.com/labring/laf/blob/main/server/src/application/environment.controller.ts#L50Product
- https://github.com/labring/laf/blob/main/server/src/instance/instance.service.ts#L306Product
- https://github.com/labring/laf/security/advisories/GHSA-hv2g-gxx4-fwxpExploit, Third Party Advisory
- https://github.com/labring/laf/blob/main/server/src/application/environment.controller.ts#L50Product
- https://github.com/labring/laf/blob/main/server/src/instance/instance.service.ts#L306Product
- https://github.com/labring/laf/security/advisories/GHSA-hv2g-gxx4-fwxpExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.