GHSA-934x-72xh-5hrg

Suggest an improvement
Source
https://github.com/advisories/GHSA-934x-72xh-5hrg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-934x-72xh-5hrg/GHSA-934x-72xh-5hrg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-934x-72xh-5hrg
Aliases
Published
2020-02-14T23:09:45Z
Modified
2026-03-13T22:11:37.044509Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
OS command injection in aws-lambda
Details

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".

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2020-02-13T19:57:58Z",
    "cwe_ids": [
        "CWE-78"
    ],
    "severity": "CRITICAL",
    "nvd_published_at": null
}
References

Affected packages

npm / aws-lambda

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-934x-72xh-5hrg/GHSA-934x-72xh-5hrg.json"
last_known_affected_version_range
"<= 1.0.4"