2023-04-26 23:55:28 +02:00
{
"id" : "CVE-2023-30846" ,
"sourceIdentifier" : "security-advisories@github.com" ,
"published" : "2023-04-26T21:15:09.380" ,
2023-06-01 16:00:28 +00:00
"lastModified" : "2023-06-01T14:15:12.120" ,
"vulnStatus" : "Modified" ,
2023-04-26 23:55:28 +02:00
"descriptions" : [
{
"lang" : "en" ,
"value" : "typed-rest-client is a library for Node Rest and Http Clients with typings for use with TypeScript. Users of the typed-rest-client library version 1.7.3 or lower are vulnerable to leak authentication data to 3rd parties. The flow of the vulnerability is as follows: First, send any request with `BasicCredentialHandler`, `BearerCredentialHandler` or `PersonalAccessTokenCredentialHandler`. Second, the target host may return a redirection (3xx), with a link to a second host. Third, the next request will use the credentials to authenticate with the second host, by setting the `Authorization` header. The expected behavior is that the next request will *NOT* set the `Authorization` header. The problem was fixed in version 1.8.0. There are no known workarounds."
}
] ,
"metrics" : {
"cvssMetricV31" : [
2023-05-05 23:55:28 +02:00
{
"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:N/A:N" ,
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "HIGH" ,
"integrityImpact" : "NONE" ,
"availabilityImpact" : "NONE" ,
"baseScore" : 7.5 ,
"baseSeverity" : "HIGH"
} ,
"exploitabilityScore" : 3.9 ,
"impactScore" : 3.6
} ,
2023-04-26 23:55:28 +02:00
{
"source" : "security-advisories@github.com" ,
"type" : "Secondary" ,
"cvssData" : {
"version" : "3.1" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N" ,
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "NONE" ,
"scope" : "UNCHANGED" ,
"confidentialityImpact" : "HIGH" ,
"integrityImpact" : "HIGH" ,
"availabilityImpact" : "NONE" ,
"baseScore" : 9.1 ,
"baseSeverity" : "CRITICAL"
} ,
"exploitabilityScore" : 3.9 ,
"impactScore" : 5.2
}
]
} ,
"weaknesses" : [
{
"source" : "security-advisories@github.com" ,
2024-04-04 08:46:00 +00:00
"type" : "Primary" ,
2023-04-26 23:55:28 +02:00
"description" : [
{
"lang" : "en" ,
"value" : "CWE-522"
}
]
}
] ,
2023-05-05 23:55:28 +02:00
"configurations" : [
{
"nodes" : [
{
"operator" : "OR" ,
"negate" : false ,
"cpeMatch" : [
{
"vulnerable" : true ,
"criteria" : "cpe:2.3:a:microsoft:typed-rest-client:*:*:*:*:*:node.js:*:*" ,
"versionEndExcluding" : "1.8.0" ,
"matchCriteriaId" : "FA141551-3739-4DE0-9840-90B89AB8E1AB"
}
]
}
]
}
] ,
2023-04-26 23:55:28 +02:00
"references" : [
{
"url" : "https://github.com/microsoft/typed-rest-client/commit/f9ff755631b982ee1303dfc3e3c823d0d31233e8" ,
2023-05-05 23:55:28 +02:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Patch"
]
2023-04-26 23:55:28 +02:00
} ,
{
"url" : "https://github.com/microsoft/typed-rest-client/security/advisories/GHSA-558p-m34m-vpmq" ,
2023-05-05 23:55:28 +02:00
"source" : "security-advisories@github.com" ,
"tags" : [
"Vendor Advisory"
]
2023-06-01 16:00:28 +00:00
} ,
{
"url" : "https://security.netapp.com/advisory/ntap-20230601-0008/" ,
"source" : "security-advisories@github.com"
2023-04-26 23:55:28 +02:00
}
]
}