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

- Severity: Low 2.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Published: 2024-03-18T20:39:00.000Z
- Modified: 2026-09-10T03:50:10.857Z
- Also known as: GHSA-rj29-j2g4-77q8
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

SecureProps is a PHP library designed to simplify the encryption and decryption of property data in objects. A vulnerability in SecureProps version 1.2.0 and 1.2.1 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). The patch for the issue has been released. Users are advised to update to version 1.2.2. As a workaround, one may use the default `Base64Encoder` with the base cipher decorated with `TagAwareCipher` to prevent special characters in the encrypted string from interfering with regex tag detection logic.  This workaround is safe but may involve double encoding since `TagAwareCipher` uses `NullEncoder` by default.

(As written by CVE List.)

## Affected

- IlicMiljan Secure-Props: >= 1.2.0, < 1.2.2
- ilicmiljan/secure-props (Packagist): from 1.2.0 before 1.2.2
- ilicmiljan secureprops: 1.2.0; 1.2.1

## Every score

- GitHub_M: CVSS:3.1 2.6 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 2.6 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N`

## References

- <https://github.com/IlicMiljan/Secure-Props/security/advisories/GHSA-rj29-j2g4-77q8> (vendor-advisory, web)
- <https://github.com/IlicMiljan/Secure-Props/issues/20> (issue-tracking, mitigation, web)
- <https://github.com/IlicMiljan/Secure-Props/pull/21> (issue-tracking, web)
- <https://github.com/IlicMiljan/Secure-Props/commit/ab7b561040cd37fda3dbf9a6cab01fefcaa16627> (technical-description, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-28864> (advisory)
- <https://github.com/IlicMiljan/Secure-Props> (package)

## Sources

- CVE List: [CVE-2024-28864](https://www.cve.org/CVERecord?id=CVE-2024-28864), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-rj29-j2g4-77q8](https://github.com/advisories/GHSA-rj29-j2g4-77q8), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-28864](https://nvd.nist.gov/vuln/detail/CVE-2024-28864), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-28864 · Whole record: https://cve.day/CVE-2024-28864.json · Rebuilt by cve.day 2026-11-25T22:58:37.692Z
