{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-28864","id":"CVE-2024-28864","title":"[TagAwareCipher] - Decryption Failure (Regex Match)","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 resu","descriptionLong":"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.","published":"2024-03-18T21:49:06.762Z","updated":"2026-10-28T02:31:00.357575437Z","reserved":"2024-03-11T22:45:07.687Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":2.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["IlicMiljan Secure-Props"],"affectedProducts":[{"vendor":"IlicMiljan","product":"Secure-Props","defaultStatus":null,"versions":[{"version":">= 1.2.0, < 1.2.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"ilicmiljan/secure-props","purl":"pkg:composer/ilicmiljan/secure-props","ranges":[">=1.2.0 <1.2.2"],"fixed":["1.2.2"],"advisory":"GHSA-rj29-j2g4-77q8"}],"cwes":["CWE-1333"],"aliases":["GHSA-rj29-j2g4-77q8"],"references":[{"url":"https://github.com/IlicMiljan/Secure-Props/security/advisories/GHSA-rj29-j2g4-77q8","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/IlicMiljan/Secure-Props/issues/20","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Mitigation","report","web"]},{"url":"https://github.com/IlicMiljan/Secure-Props/pull/21","tags":["x_refsource_MISC","x_transferred","Issue Tracking","fix","web"]},{"url":"https://github.com/IlicMiljan/Secure-Props/commit/ab7b561040cd37fda3dbf9a6cab01fefcaa16627","tags":["x_refsource_MISC","x_transferred","Technical Description","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/28xxx/CVE-2024-28864.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28864","tags":["advisory"]},{"url":"https://github.com/IlicMiljan/Secure-Props","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00328,"epssPercentile":0.26406,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-28864","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-28864","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-28864","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rj29-j2g4-77q8","ok":true,"note":"GHSA-rj29-j2g4-77q8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-28864","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}