2024-05-17 04:04:07 +00:00

132 lines
4.0 KiB
JSON

{
"id": "CVE-2022-33171",
"sourceIdentifier": "cve@mitre.org",
"published": "2022-07-04T16:15:08.757",
"lastModified": "2024-05-17T02:10:16.893",
"vulnStatus": "Modified",
"descriptions": [
{
"lang": "en",
"value": "The findOne function in TypeORM before 0.3.0 can either be supplied with a string or a FindOneOptions object. When input to the function is a user-controlled parsed JSON object, supplying a crafted FindOneOptions instead of an id string leads to SQL injection. NOTE: the vendor's position is that the user's application is responsible for input validation"
},
{
"lang": "es",
"value": "** EN DISPUTA ** La funci\u00f3n findOne en TypeORM versiones anteriores a 0.3.0, puede recibir una cadena o un objeto FindOneOptions. Cuando la entrada a la funci\u00f3n es un objeto JSON analizado controlado por el usuario, el suministro de un FindOneOptions dise\u00f1ado en lugar de una cadena de identificaci\u00f3n conlleva a una inyecci\u00f3n SQL. NOTA: la posici\u00f3n del proveedor es que la aplicaci\u00f3n del usuario es responsable de la comprobaci\u00f3n de la entrada"
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
],
"cvssMetricV2": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"cvssData": {
"version": "2.0",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"accessVector": "NETWORK",
"accessComplexity": "LOW",
"authentication": "NONE",
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"availabilityImpact": "PARTIAL",
"baseScore": 7.5
},
"baseSeverity": "HIGH",
"exploitabilityScore": 10.0,
"impactScore": 6.4,
"acInsufInfo": false,
"obtainAllPrivilege": false,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
]
},
"weaknesses": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-89"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:typeorm:typeorm:*:*:*:*:*:node.js:*:*",
"versionEndExcluding": "0.3.0",
"matchCriteriaId": "0C605C28-B0DA-4785-9809-5D9E9ECCD700"
}
]
}
]
}
],
"references": [
{
"url": "http://packetstormsecurity.com/files/168096/TypeORM-0.3.7-Information-Disclosure.html",
"source": "cve@mitre.org",
"tags": [
"Exploit",
"Third Party Advisory",
"VDB Entry"
]
},
{
"url": "http://seclists.org/fulldisclosure/2022/Aug/7",
"source": "cve@mitre.org",
"tags": [
"Mailing List",
"Third Party Advisory"
]
},
{
"url": "https://github.com/typeorm/typeorm/compare/0.2.45...0.3.0",
"source": "cve@mitre.org",
"tags": [
"Release Notes",
"Third Party Advisory"
]
},
{
"url": "https://seclists.org/fulldisclosure/2022/Jun/51",
"source": "cve@mitre.org",
"tags": [
"Exploit",
"Mailing List",
"Third Party Advisory"
]
}
]
}