artkamote / examples

Serverless Examples – A collection of boilerplates and examples of serverless architectures built with the Serverless Framework on AWS Lambda, Microsoft Azure, Google Cloud Functions, and more.
https://www.serverless.com/examples/
Other
0 stars 0 forks source link

CVE-2021-4235 (Medium) detected in github.com/go-yaml/yaml-v2.2.2 #293

Open mend-bolt-for-github[bot] opened 1 year ago

mend-bolt-for-github[bot] commented 1 year ago

CVE-2021-4235 - Medium Severity Vulnerability

Vulnerable Library - github.com/go-yaml/yaml-v2.2.2

YAML support for the Go language.

Path to dependency file: /aws-golang-s3-file-replicator/go.mod

Path to vulnerable library: /aws-golang-s3-file-replicator/go.mod

Dependency Hierarchy: - github.com/AWS/AWS-Lambda-Go-v1.6.0 (Root Library) - github.com/stretchr/testify-v1.5.1 - :x: **github.com/go-yaml/yaml-v2.2.2** (Vulnerable Library)

Found in HEAD commit: dcbe4aefe4b3685f4b15493a01db0f19b118a0c4

Found in base branch: master

Vulnerability Details

Due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector.

Publish Date: 2022-12-27

URL: CVE-2021-4235

CVSS 3 Score Details (5.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2022-12-27

Fix Resolution: v2.2.3


Step up your Open Source Security Game with Mend here