CVE-2023-25575
HIGHDescription
API Platform Core is the server component of API Platform: hypermedia and GraphQL APIs. Resource properties secured with the `security` option of the `ApiPlatform\Metadata\ApiProperty` attribute can be disclosed to unauthorized users. The problem affects most serialization formats, including raw JSON, which is enabled by default when installing API Platform. Custom serialization formats may also be impacted. Only collection endpoints are affected by the issue, item endpoints are not. The JSON-LD format is not affected by the issue. The result of the security rule is only executed for the first item of the collection. The result of the rule is then cached and reused for the next items. This bug can leak data to unauthorized users when the rule depends on the value of a property of the item. This bug can also hide properties that should be displayed to authorized users. This issue impacts the 2.7, 3.0 and 3.1 branches. Please upgrade to versions 2.7.10, 3.0.12 or 3.1.3. As a workaround, replace the `cache_key` of the context array of the Serializer inside a custom normalizer that works on objects if the security option of the `ApiPlatform\Metadata\ApiProperty` attribute is used.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 46% of all known CVEs.
References
Related Vulnerabilities
Other CWE-842 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2022-31007 | Medium | 4.9 | 27% | - | Fix |
| CVE-2024-10082 | High | 8.7 | 0.5% | - | Fix |
| CVE-2022-45097 | Medium | 6.3 | 0.4% | - | Fix |
| CVE-2024-9412 | Unscored | - | 0.4% | - | - |
| CVE-2024-25632 | High | 8.6 | 0.4% | - | Fix |
| CVE-2022-2990 | High | 7.1 | 0.3% | - | Fix |
Common questions
How do I fix CVE-2023-25575?
Upgrade core to 3.1.3 or later.
Is CVE-2023-25575 being actively exploited?
Not that we know of. CVE-2023-25575 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.60% is the estimated probability that it will be exploited in the next 30 days. That is higher than 46% of all scored CVEs.
How severe is CVE-2023-25575?
CVE-2023-25575 has a CVSS v3 base score of 7.7, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2023-25575 affect?
Published advisories record a fix for core (NVD). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2023-25575
Markdown
[](https://tridentstack.com/cve/CVE-2023-25575)HTML
<a href="https://tridentstack.com/cve/CVE-2023-25575"><img src="https://tridentstack.com/cve/badge/CVE-2023-25575.svg" alt="CVE-2023-25575"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.