René Helmke 7791f18b51 bootstrap
2023-05-16 16:09:41 +02:00

128 lines
5.1 KiB
JSON

{
"id": "CVE-2022-31186",
"sourceIdentifier": "security-advisories@github.com",
"published": "2022-08-01T20:15:08.583",
"lastModified": "2022-08-09T18:37:56.607",
"vulnStatus": "Analyzed",
"descriptions": [
{
"lang": "en",
"value": "NextAuth.js is a complete open source authentication solution for Next.js applications. An information disclosure vulnerability in `next-auth` before `v4.10.2` and `v3.29.9` allows an attacker with log access privilege to obtain excessive information such as an identity provider's secret in the log (which is thrown during OAuth error handling) and use it to leverage further attacks on the system, like impersonating the client to ask for extensive permissions. This issue has been patched in `v4.10.2` and `v3.29.9` by moving the log for `provider` information to the debug level. In addition, we added a warning for having the `debug: true` option turned on in production. If for some reason you cannot upgrade, you can user the `logger` configuration option by sanitizing the logs."
},
{
"lang": "es",
"value": "NextAuth.js es una completa soluci\u00f3n de autenticaci\u00f3n de c\u00f3digo abierto para aplicaciones Next.js. Una vulnerabilidad de divulgaci\u00f3n de informaci\u00f3n en \"next-auth\" versiones anteriores a \"v4.10.2\" y \"v3.29.9\" permite a un atacante con privilegio de acceso al registro obtener informaci\u00f3n excesiva, como el secreto de un proveedor de identidad en el registro (que sea lanzada durante la administraci\u00f3n de errores de OAuth) y usarla para aprovechar otros ataques al sistema, como hacerse pasar por el cliente para solicitar amplios permisos. Este problema ha sido parcheado en versiones \"v4.10.2\" y \"v3.29.9\" moviendo el registro de la informaci\u00f3n del \"proveedor\" al nivel de depuraci\u00f3n. Adem\u00e1s, hemos a\u00f1adido una advertencia por tener la opci\u00f3n \"debug: true\" activada en producci\u00f3n. Si por alguna raz\u00f3n no puede actualizar, puede usar la opci\u00f3n de configuraci\u00f3n \"logger\" saneando los registros"
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "NONE",
"availabilityImpact": "NONE",
"baseScore": 3.3,
"baseSeverity": "LOW"
},
"exploitabilityScore": 1.8,
"impactScore": 1.4
},
{
"source": "security-advisories@github.com",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
"attackVector": "LOCAL",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "NONE",
"availabilityImpact": "NONE",
"baseScore": 3.3,
"baseSeverity": "LOW"
},
"exploitabilityScore": 1.8,
"impactScore": 1.4
}
]
},
"weaknesses": [
{
"source": "security-advisories@github.com",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-532"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:next-auth:nextauth.js:*:*:*:*:*:node.js:*:*",
"versionEndExcluding": "3.29.9",
"matchCriteriaId": "068937C2-02AF-48B3-8A2C-F1CB8CC1617E"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:next-auth:nextauth.js:*:*:*:*:*:node.js:*:*",
"versionStartIncluding": "4.0.0",
"versionEndExcluding": "4.10.2",
"matchCriteriaId": "D0F207DF-DC95-4C54-AAFE-9C71B47B17B6"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/nextauthjs/next-auth/security/advisories/GHSA-p6mm-27gq-9v3p",
"source": "security-advisories@github.com",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://next-auth.js.org/configuration/options#logger",
"source": "security-advisories@github.com",
"tags": [
"Vendor Advisory"
]
},
{
"url": "https://next-auth.js.org/getting-started/upgrade-v4",
"source": "security-advisories@github.com",
"tags": [
"Vendor Advisory"
]
},
{
"url": "https://next-auth.js.org/warnings#debug_enabled",
"source": "security-advisories@github.com",
"tags": [
"Vendor Advisory"
]
}
]
}