{"id":"CVE-2023-38493","aliases":["GHSA-wvp2-9ppw-337j"],"url":"https://o3.security/vulnerability/CVE-2023-38493","summary":"Paths contain matrix variables bypass decorators","details":"### Impact\nSpring supports [Matrix variables](https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-controller/ann-methods/matrix-variables.html).\nWhen Spring integration is used, Armeria calls Spring controllers via `TomcatService` or `JettyService` with the path\nthat may contain matrix variables.\nIn this situation, the Armeria decorators might not invoked because of the matrix variables.\nLet's see the following example:\n```\n// Spring controller\n@GetMapping(\"/important/resources\")\npublic String important() {...}\n\n// Armeria decorator\nServerBuilder sb = ...\nsb.decoratorUnder(\"/important/\", authService);\n```\nIf an attacker sends a request with `/important;a=b/resources`, the request would bypass the authrorizer\n\n### Patches\n- https://github.com/line/armeria-ghsa-wvp2-9ppw-337j/commit/9b0ec3e099cc05fbff11d7f1012a1dddb0000d0c\n\n### Workarounds\nUsers can add decorators using regex. `e.g. \"regex:^/important.*\"`\n","published":"2023-07-25T20:51:11.170Z","modified":"2026-08-12T14:51:02.948538Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"com.linecorp.armeria:armeria","fixedVersion":"1.24.3"}],"fix":{"url":"https://github.com/line/armeria/commit/039db50bbfc88014ea8737fd1e1ddd6fd3fc4f07","label":"line/armeria@039db50"},"references":[{"type":"WEB","url":"https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-controller/ann-methods/matrix-variables.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38493.json"},{"type":"ADVISORY","url":"https://github.com/line/armeria/security/advisories/GHSA-wvp2-9ppw-337j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38493"},{"type":"FIX","url":"https://github.com/line/armeria/commit/039db50bbfc88014ea8737fd1e1ddd6fd3fc4f07"},{"type":"WEB","url":"https://github.com/line/armeria/commit/49e04ef231ad65750739529c7fa4ce946ff7588b"},{"type":"PACKAGE","url":"https://github.com/line/armeria"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T14:51:02.948538Z"}}