9.8critical
OS command injection in aws-lambda
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 1.64% (higher than 77% of CVEs)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-934x-72xh-5hrg
Description
In aws-lambda versions prior to version 1.0.5, the "config.FunctioName" is used to construct the argument used within the "exec" function without any sanitization. It is possible for a user to inject arbitrary commands to the "zipCmd" used within "config.FunctionName".
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| aws-lambda | All versions prior to version 1.0.5 | CVE List |
| aws-lambda (npm) | before 1.0.5 | GitHub Advisory Database |
| amazon aws_lambda | before 1.0.5 | NVD |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
In aws-lambda versions prior to version 1.0.5, the "config.FunctioName" is used to construct the argument used within the "exec" function without any sanitization. It is possible for a user to inject arbitrary commands to the "zipCmd" used within "config.FunctionName".
NVD (es)
En aws-lambda versiones anteriores a la versión 1.0.5, el "config.FunctioName" es usado para construir el argumento utilizado dentro de la función "exec" sin ningún saneamiento. Es posible que un usuario inyecte comandos arbitrarios en el "zipCmd" usado dentro de "config.FunctionName".
References
| https://snyk.io/vuln/SNYK-JS-AWSLAMBDA-540839 | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2019-10777 | advisory | |
| https://github.com/awspilot/cli-lambda-deploy | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2019-10777 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-934x-72xh-5hrg changed 2026-03-13 | CC-BY-4.0 |
| NVD | CVE-2019-10777 changed 2026-06-17 | Public domain |