Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. ilicmiljan/secure-props
  4. ›
  5. CVE-2024-28864

CVE-2024-28864: [TagAwareCipher] - Decryption Failure (Regex Match)

March 18, 2024

Vulnerability in SecureProps involves a regex failing to detect tags during decryption of encrypted data.

This occurs when the encrypted data has been encoded with NullEncoder and passed to TagAwareCipher, and contains special characters such as \n. As a result, the decryption process is skipped since the tags are not detected. This causes the encrypted data to be returned in plain format.

The vulnerability affects users who implement TagAwareCipher with any base cipher that has NullEncoder (not default).

References

  • github.com/IlicMiljan/Secure-Props
  • github.com/IlicMiljan/Secure-Props/commit/ab7b561040cd37fda3dbf9a6cab01fefcaa16627
  • github.com/IlicMiljan/Secure-Props/issues/20
  • github.com/IlicMiljan/Secure-Props/pull/21
  • github.com/IlicMiljan/Secure-Props/security/advisories/GHSA-rj29-j2g4-77q8
  • github.com/advisories/GHSA-rj29-j2g4-77q8
  • nvd.nist.gov/vuln/detail/CVE-2024-28864

Code Behaviors & Features

Detect and mitigate CVE-2024-28864 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 starting from 1.2.0 before 1.2.2

Fixed versions

  • 1.2.2

Solution

Upgrade to version 1.2.2 or above.

Impact 2.6 LOW

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

Learn more about CVSS

Source file

packagist/ilicmiljan/secure-props/CVE-2024-28864.yml

Spotted a mistake? Edit the file on GitLab.

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

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