diff --git a/advisories/github-reviewed/2025/05/GHSA-69rh-hccr-cxrj/GHSA-69rh-hccr-cxrj.json b/advisories/github-reviewed/2025/05/GHSA-69rh-hccr-cxrj/GHSA-69rh-hccr-cxrj.json new file mode 100644 index 00000000000..45bfc5b1b66 --- /dev/null +++ b/advisories/github-reviewed/2025/05/GHSA-69rh-hccr-cxrj/GHSA-69rh-hccr-cxrj.json @@ -0,0 +1,64 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-69rh-hccr-cxrj", + "modified": "2025-05-27T19:47:01Z", + "published": "2025-05-27T19:47:00Z", + "aliases": [], + "summary": "Laravel Rest Api has a Search Validation Bypass", + "details": "A validation bypass vulnerability was discovered prior to version 2.13.0, where multiple validations defined for the same attribute could be silently overridden. Due to how the framework merged validation rules across multiple contexts (such as index, store, and update actions), malicious actors could exploit this behavior by crafting requests that bypass expected validation rules, potentially injecting unexpected or dangerous parameters into the application.\n\nImpact:\n\nThis could lead to unauthorized data being accepted or processed by the API, depending on the context in which the validation was bypassed.\n\nPatch:\n\nThe issue was fixed in [PR #172](https://github.com/Lomkit/laravel-rest-api/pull/172) by ensuring that multiple rule definitions are merged correctly rather than overwritten.", + "severity": [ + { + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Packagist", + "name": "lomkit/laravel-rest-api" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "2.13.0" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/Lomkit/laravel-rest-api/security/advisories/GHSA-69rh-hccr-cxrj" + }, + { + "type": "WEB", + "url": "https://github.com/Lomkit/laravel-rest-api/pull/172" + }, + { + "type": "WEB", + "url": "https://github.com/Lomkit/laravel-rest-api/commit/88b14587b4efd7e59d7379658c606d325bb513b4" + }, + { + "type": "PACKAGE", + "url": "https://github.com/Lomkit/laravel-rest-api" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-1173", + "CWE-20" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-05-27T19:47:00Z", + "nvd_published_at": null + } +} \ No newline at end of file