{"id":"CVE-2023-38493","aliases":["CVE-2023-38493","GHSA-wvp2-9ppw-337j"],"related":[],"kind":"vulnerability","state":"published","title":"Paths contain matrix variables bypass decorators","summary":"Armeria is a microservice framework Spring supports Matrix variables. When Spring integration is used, Armeria calls Spring controllers via `TomcatService` or `JettyService` with the path that may contain matrix variables. Prior to version 1.24.3, the Armeria decorators might not invoked because of the matrix variables. If an attacker sends a specially crafted request, the request may bypass the authorizer. Version 1.24.3 contains a patch for this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Armeria is a microservice framework Spring supports Matrix variables. When Spring integration is used, Armeria calls Spring controllers via `TomcatService` or `JettyService` with the path that may contain matrix variables. Prior to version 1.24.3, the Armeria decorators might not invoked because of the matrix variables. If an attacker sends a specially crafted request, the request may bypass the authorizer. Version 1.24.3 contains a patch for this issue.","source":"cvelist"},{"lang":"en","text":"### 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.*\"`","format":"markdown","source":"ghsa"}],"published":"2023-07-25T18:24:39.000Z","modified":"2026-09-10T03:49:57.293Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":"< 1.24.3","status":"affected"}],"vendor":"line","product":"armeria","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.24.3","status":"affected"}],"vendor":"linecorp","product":"armeria","cpe":"cpe:2.3:a:linecorp:armeria:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.24.3"}],"ecosystem":"Maven","package":"com.linecorp.armeria:armeria","purl":"pkg:maven/com.linecorp.armeria/armeria","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.24.3"}],"vendor":"linecorp","product":"armeria","cpe":"cpe:2.3:a:linecorp:armeria:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/line/armeria/security/advisories/GHSA-wvp2-9ppw-337j","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/line/armeria/commit/039db50bbfc88014ea8737fd1e1ddd6fd3fc4f07","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-controller/ann-methods/matrix-variables.html","tags":["product","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38493","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/line/armeria/commit/49e04ef231ad65750739529c7fa4ce946ff7588b","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/line/armeria","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-10-03T18:46:47.972Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-38493","url":"https://www.cve.org/CVERecord?id=CVE-2023-38493","licence":"CVE Terms of Use","modified":"2024-10-03T18:47:47.744Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wvp2-9ppw-337j","url":"https://github.com/advisories/GHSA-wvp2-9ppw-337j","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:57.293Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-38493","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38493","licence":"Public domain","modified":"2026-06-17T06:10:20.147Z"}],"updatedAt":"2026-11-25T22:58:26.500Z","epss":{"score":0.00726,"percentile":0.5532,"date":"2026-12-01T12:00:22.000Z"}}