Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTkzNHgtNzJ4aC01aHJn

OS command injection in aws-lambda

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

Permalink: https://github.com/advisories/GHSA-934x-72xh-5hrg
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTkzNHgtNzJ4aC01aHJn
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 4 years ago
Updated: over 1 year ago


CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-934x-72xh-5hrg, CVE-2019-10777
References: Repository: https://github.com/awspilot/cli-lambda-deploy
Blast Radius: 38.1

Affected Packages

npm:aws-lambda
Dependent packages: 722
Dependent repositories: 7,779
Downloads: 3,471,332 last month
Affected Version Ranges: <= 1.0.4
Fixed in: 1.0.5
All affected versions: 0.0.1, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.1.0, 0.1.1, 0.1.2, 1.0.0, 1.0.1, 1.0.4
All unaffected versions: 1.0.5, 1.0.6, 1.0.7