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

143 lines
5.3 KiB
JSON

{
"id": "CVE-2021-41088",
"sourceIdentifier": "security-advisories@github.com",
"published": "2021-09-23T20:15:07.720",
"lastModified": "2022-08-12T17:48:58.660",
"vulnStatus": "Analyzed",
"descriptions": [
{
"lang": "en",
"value": "Elvish is a programming language and interactive shell, combined into one package. In versions prior to 0.14.0 Elvish's web UI backend (started by `elvish -web`) hosts an endpoint that allows executing the code sent from the web UI. The backend does not check the origin of requests correctly. As a result, if the user has the web UI backend open and visits a compromised or malicious website, the website can send arbitrary code to the endpoint in localhost. All Elvish releases from 0.14.0 onward no longer include the the web UI, although it is still possible for the user to build a version from source that includes the web UI. The issue can be patched for previous versions by removing the web UI (found in web, pkg/web or pkg/prog/web, depending on the exact version)."
},
{
"lang": "es",
"value": "Elvish es un lenguaje de programaci\u00f3n y un shell interactivo, combinados en un solo paquete. En versiones anteriores a 0.14.0, el backend de la Interfaz Web de Elvish (iniciado por \"elvish -web\") aloja un endpoint que permite ejecutar el c\u00f3digo enviado desde la interfaz web. El backend no comprueba correctamente el origen de las peticiones. Como resultado, si el usuario tiene el backend de la interfaz web abierto y visita un sitio web comprometido o malicioso, el sitio web puede enviar c\u00f3digo arbitrario al endpoint en localhost. Todas las versiones de Elvish a partir de la 0.14.0, ya no incluyen la Interfaz de Usuario web, aunque todav\u00eda es posible que el usuario construya una versi\u00f3n desde el c\u00f3digo fuente que incluya la Interfaz de Usuario web. El problema puede ser parcheado para las versiones anteriores eliminando la Interfaz de Usuario web (que se encuentra en web, pkg/web o pkg/prog/web, dependiendo de la versi\u00f3n exacta)"
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH"
},
"exploitabilityScore": 2.8,
"impactScore": 5.9
},
{
"source": "security-advisories@github.com",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH",
"baseScore": 8.0,
"baseSeverity": "HIGH"
},
"exploitabilityScore": 1.3,
"impactScore": 6.0
}
],
"cvssMetricV2": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"cvssData": {
"version": "2.0",
"vectorString": "AV:N/AC:M/Au:N/C:C/I:C/A:C",
"accessVector": "NETWORK",
"accessComplexity": "MEDIUM",
"authentication": "NONE",
"confidentialityImpact": "COMPLETE",
"integrityImpact": "COMPLETE",
"availabilityImpact": "COMPLETE",
"baseScore": 9.3
},
"baseSeverity": "HIGH",
"exploitabilityScore": 8.6,
"impactScore": 10.0,
"acInsufInfo": false,
"obtainAllPrivilege": false,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": true
}
]
},
"weaknesses": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-346"
}
]
},
{
"source": "security-advisories@github.com",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-668"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:elv:elvish:*:*:*:*:*:*:*:*",
"versionEndExcluding": "0.14.0",
"matchCriteriaId": "6E7F6953-D41A-4F89-A95A-5CD3AE898641"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/elves/elvish/commit/ccc2750037bbbfafe9c1b7a78eadd3bd16e81fe5",
"source": "security-advisories@github.com",
"tags": [
"Patch",
"Third Party Advisory"
]
},
{
"url": "https://github.com/elves/elvish/security/advisories/GHSA-fpv6-f8jw-rc3r",
"source": "security-advisories@github.com",
"tags": [
"Third Party Advisory"
]
}
]
}