9.8critical
Incorrect Authorization in serverless-offline
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 1.46% (higher than 74% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-h97f-5258-5593
Description
Serverless Offline 8.0.0 returns a 403 HTTP status code for a route that has a trailing / character, which might cause a developer to implement incorrect access control, because the actual behavior within the Amazon AWS environment is a 200 HTTP status code (i.e., possibly greater than expected permissions).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| serverless-offline (npm) | up to 8.0.0 | GitHub Advisory Database |
| serverless_offline_project serverless_offline | 8.0.0 | NVD |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
Serverless Offline 8.0.0 returns a 403 HTTP status code for a route that has a trailing / character, which might cause a developer to implement incorrect access control, because the actual behavior within the Amazon AWS environment is a 200 HTTP status code (i.e., possibly greater than expected permissions).
GitHub Advisory Database
Serverless Offline 8.0.0 returns a 403 HTTP status code for a route that has a trailing / character, which might cause a developer to implement incorrect access control, because the actual behavior within the Amazon AWS environment is a 200 HTTP status code (i.e., possibly greater than expected permissions).
NVD (es)
Serverless Offline versión 8.0.0, devuelve un código de estado HTTP 403 para una ruta que presenta un carácter / al final, lo que podría causar a un desarrollador implementar un control de acceso incorrecto, porque el comportamiento real dentro del entorno de Amazon AWS es un código de estado HTTP 200 (es decir, posiblemente mayores permisos de los esperados)
References
| https://github.com/dherault/serverless-offline/issues/1259 | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-38384 | advisory | |
| https://github.com/dherault/serverless-offline | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-38384 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h97f-5258-5593 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-38384 changed 2026-06-17 | Public domain |