—
GO-2024-3088
memos CORS Misconfiguration in server.go (GHSL-2024-034) in github.com/usememos/memos
Quick fix
GO-2024-3088 — github.com/usememos/memos: upgrade to the fixed version with the command below.
go get github.com/usememos/memos@v0.21.0Details
memos CORS Misconfiguration in server.go (GHSL-2024-034) in github.com/usememos/memos
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/usememos/memos
Introduced in:
0Fixed in: 0.21.0Fix
go get github.com/usememos/memos@v0.21.0References
- https://github.com/advisories/GHSA-p4fx-qf2h-jpmj[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2024-41659[ADVISORY]
- https://securitylab.github.com/advisories/GHSL-2024-034_memos[ADVISORY]
- https://github.com/usememos/memos/commit/8101a5e0b162044c16385bee4f12a4a653d050b9[FIX]
- https://github.com/usememos/memos/blob/v0.20.1/server/server.go#L163[WEB]