{"containers":{"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"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"}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2022-08-16T17:06:17.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://github.com/typeorm/typeorm/compare/0.2.45...0.3.0"},{"tags":["x_refsource_MISC"],"url":"https://seclists.org/fulldisclosure/2022/Jun/51"},{"name":"20220815 Re: typeorm CVE-2022-33171","tags":["mailing-list","x_refsource_FULLDISC"],"url":"http://seclists.org/fulldisclosure/2022/Aug/7"},{"tags":["x_refsource_MISC"],"url":"http://packetstormsecurity.com/files/168096/TypeORM-0.3.7-Information-Disclosure.html"}],"tags":["disputed"],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-33171","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"** DISPUTED ** 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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/typeorm/typeorm/compare/0.2.45...0.3.0","refsource":"MISC","url":"https://github.com/typeorm/typeorm/compare/0.2.45...0.3.0"},{"name":"https://seclists.org/fulldisclosure/2022/Jun/51","refsource":"MISC","url":"https://seclists.org/fulldisclosure/2022/Jun/51"},{"name":"20220815 Re: typeorm CVE-2022-33171","refsource":"FULLDISC","url":"http://seclists.org/fulldisclosure/2022/Aug/7"},{"name":"http://packetstormsecurity.com/files/168096/TypeORM-0.3.7-Information-Disclosure.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/168096/TypeORM-0.3.7-Information-Disclosure.html"}]}}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-10T18:07:13.061321Z","id":"CVE-2022-33171","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-10T18:08:18.036Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T08:01:20.214Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/typeorm/typeorm/compare/0.2.45...0.3.0"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://seclists.org/fulldisclosure/2022/Jun/51"},{"name":"20220815 Re: typeorm CVE-2022-33171","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"],"url":"http://seclists.org/fulldisclosure/2022/Aug/7"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://packetstormsecurity.com/files/168096/TypeORM-0.3.7-Information-Disclosure.html"}]}]},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2022-33171","datePublished":"2022-07-04T15:51:49.000Z","dateReserved":"2022-06-13T00:00:00.000Z","dateUpdated":"2024-08-03T08:01:20.214Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}