# CVE-2021-38384: Incorrect Authorization in serverless-offline

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.46%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-08-10T17:35:41.000Z
- Modified: 2026-06-17T04:01:59.630Z
- Also known as: GHSA-h97f-5258-5593
- Weaknesses: CWE-755, CWE-863
- Assigned by: mitre

## 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).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- serverless-offline (npm): up to 8.0.0
- serverless_offline_project serverless_offline: 8.0.0

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## 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

- CVE List: [CVE-2021-38384](https://www.cve.org/CVERecord?id=CVE-2021-38384), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-h97f-5258-5593](https://github.com/advisories/GHSA-h97f-5258-5593), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-38384](https://nvd.nist.gov/vuln/detail/CVE-2021-38384), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-38384 · Whole record: https://cve.day/CVE-2021-38384.json · Rebuilt by cve.day 2026-11-25T22:58:03.093Z
