Code Injection Affecting github.com/tiagorlampert/chaos/delivery/http package, versions <5.0.2


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMTIAGORLAMPERTCHAOSDELIVERYHTTP-6814545
  • published 8 May 2024
  • disclosed 7 May 2024
  • credit slimwang

How to fix?

Upgrade github.com/tiagorlampert/CHAOS/delivery/http to version 5.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Code Injection through the unsafe concatenation of the filename argument into the buildStr string without any sanitization or filtering. An attacker can execute arbitrary commands on the system by supplying a specially crafted filename.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
9.9 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    Low