GHSA-p4fx-qf2h-jpmj

Suggest an improvement
Source
https://github.com/advisories/GHSA-p4fx-qf2h-jpmj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-p4fx-qf2h-jpmj/GHSA-p4fx-qf2h-jpmj.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-p4fx-qf2h-jpmj
Aliases
Published
2024-08-22T17:18:16Z
Modified
2024-08-30T17:41:53.463779Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
  • 8.6 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
memos CORS Misconfiguration in server.go (GHSL-2024-034)
Details

memos is a privacy-first, lightweight note-taking service. A CORS misconfiguration exists in memos 0.20.1 and earlier where an arbitrary origin is reflected with Access-Control-Allow-Credentials set to true. This may allow an attacking website to make a cross-origin request, allowing the attacker to read private information or make privileged changes to the system as the vulnerable user account.

Database specific
{
    "nvd_published_at": "2024-08-20T20:15:08Z",
    "cwe_ids": [
        "CWE-942"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-08-22T17:18:16Z"
}
References

Affected packages

Go / github.com/usememos/memos

Package

Name
github.com/usememos/memos
View open source insights on deps.dev
Purl
pkg:golang/github.com/usememos/memos

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.21.0