Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. cachethq/cachet
  4. ›
  5. CVE-2021-39172

CVE-2021-39172: Improper Neutralization of CRLF Sequences ('CRLF Injection')

August 30, 2021 (updated September 29, 2021)

Cachet is an open source status page system. Prior to version 2.5.1, authenticated users, regardless of their privileges (User or Admin), can exploit a new line injection in the configuration edition feature (e.g. mail settings) and gain arbitrary code execution on the server. This issue was addressed in version 2.5.1 by improving UpdateConfigCommandHandler and preventing the use of new lines characters in new configuration values. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.

References

  • github.com/advisories/GHSA-9jxw-cfrh-jxq6
  • github.com/fiveai/Cachet/releases/tag/v2.5.1
  • github.com/fiveai/Cachet/security/advisories/GHSA-9jxw-cfrh-jxq6
  • nvd.nist.gov/vuln/detail/CVE-2021-39172

Code Behaviors & Features

Detect and mitigate CVE-2021-39172 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.5.1

Fixed versions

  • 2.5.1

Solution

Upgrade to version 2.5.1 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')

Source file

packagist/cachethq/cachet/CVE-2021-39172.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:10 +0000.