2023-12-11 19:00:22 +00:00

289 lines
10 KiB
JSON

{
"id": "CVE-2023-26154",
"sourceIdentifier": "report@snyk.io",
"published": "2023-12-06T05:15:10.437",
"lastModified": "2023-12-11T17:48:03.653",
"vulnStatus": "Analyzed",
"descriptions": [
{
"lang": "en",
"value": "Versions of the package pubnub before 7.4.0; all versions of the package com.pubnub:pubnub; versions of the package pubnub before 6.19.0; all versions of the package github.com/pubnub/go; versions of the package github.com/pubnub/go/v7 before 7.2.0; versions of the package pubnub before 7.3.0; versions of the package pubnub/pubnub before 6.1.0; versions of the package pubnub before 5.3.0; versions of the package pubnub before 0.4.0; versions of the package pubnub/c-core before 4.5.0; versions of the package com.pubnub:pubnub-kotlin before 7.7.0; versions of the package pubnub/swift before 6.2.0; versions of the package pubnub before 5.2.0; versions of the package pubnub before 4.3.0 are vulnerable to Insufficient Entropy via the getKey function, due to inefficient implementation of the AES-256-CBC cryptographic algorithm. The provided encrypt function is less secure when hex encoding and trimming are applied, leaving half of the bits in the key always the same for every encoded message or file.\r\r**Note:**\r\rIn order to exploit this vulnerability, the attacker needs to invest resources in preparing the attack and brute-force the encryption."
},
{
"lang": "es",
"value": "Versiones del paquete pubnub anteriores a 7.4.0; todas las versiones del paquete com.pubnub:pubnub; versiones del paquete pubnub anteriores a 6.19.0; todas las versiones del paquete github.com/pubnub/go; versiones del paquete github.com/pubnub/go/v7 anteriores a 7.2.0; versiones del paquete pubnub anteriores a 7.3.0; versiones del paquete pubnub/pubnub anteriores a 6.1.0; versiones del paquete pubnub anteriores a 5.3.0; versiones del paquete pubnub anteriores a 0.4.0; versiones del paquete pubnub/c-core anteriores a 4.5.0; versiones del paquete com.pubnub:pubnub-kotlin anteriores a 7.7.0; versiones del paquete pubnub/swift anteriores a 6.2.0; versiones del paquete pubnub anteriores a 5.2.0; Las versiones del paquete pubnub anteriores a la 4.3.0 son vulnerables a una entrop\u00eda insuficiente a trav\u00e9s de la funci\u00f3n getKey, debido a una implementaci\u00f3n ineficiente del algoritmo criptogr\u00e1fico AES-256-CBC. La funci\u00f3n de cifrado proporcionada es menos segura cuando se aplica codificaci\u00f3n y recorte hexadecimal, dejando la mitad de los bits de la clave siempre igual para cada mensaje o archivo codificado. **Nota:** Para aprovechar esta vulnerabilidad, el atacante necesita invertir recursos en preparar el ataque y aplicar fuerza bruta al cifrado."
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"availabilityImpact": "NONE",
"baseScore": 5.9,
"baseSeverity": "MEDIUM"
},
"exploitabilityScore": 2.2,
"impactScore": 3.6
},
{
"source": "report@snyk.io",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"availabilityImpact": "NONE",
"baseScore": 5.9,
"baseSeverity": "MEDIUM"
},
"exploitabilityScore": 2.2,
"impactScore": 3.6
}
]
},
"weaknesses": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-331"
}
]
},
{
"source": "report@snyk.io",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-331"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:pubnub:c-core:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.5.0",
"matchCriteriaId": "828BEB48-975A-4362-8BDD-904BCE3823FF"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:pubnub:kotlin:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.7.0",
"matchCriteriaId": "73948491-97EE-4EB8-8B97-9429088F99DF"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:pubnub:pubnub:*:*:*:*:*:-:*:*",
"versionEndExcluding": "0.4.0",
"matchCriteriaId": "8170F0DF-1ED2-417E-B339-C08E1155938B"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:pubnub:pubnub:*:*:*:*:*:go:*:*",
"versionEndExcluding": "7.2.0",
"matchCriteriaId": "DF09708C-0267-4D74-BEB3-26273E41BC57"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:pubnub:pubnub:*:*:*:*:*:-:*:*",
"versionStartIncluding": "3.6.4",
"versionEndExcluding": "4.3.0",
"matchCriteriaId": "CFA61BEF-9855-4A93-B02B-4D18B2AA3367"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:pubnub:pubnub:*:*:*:*:*:-:*:*",
"versionStartIncluding": "4.3.1",
"versionEndExcluding": "5.2.0",
"matchCriteriaId": "8D178036-011A-496A-81B2-2F6EC9CC10A4"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:pubnub:pubnub:*:*:*:*:*:-:*:*",
"versionStartIncluding": "6.0.0",
"versionEndExcluding": "6.1.0",
"matchCriteriaId": "E6AB8896-76D8-4888-A242-9A822898F0E3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:pubnub:pubnub:*:*:*:*:*:-:*:*",
"versionStartIncluding": "6.2.0",
"versionEndExcluding": "6.19.0",
"matchCriteriaId": "1F2A00A7-9503-40F4-B31C-AEDC2B451A36"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:pubnub:pubnub:*:*:*:*:*:-:*:*",
"versionStartIncluding": "7.0.0",
"versionEndExcluding": "7.3.0",
"matchCriteriaId": "F1CF5B2D-CBE3-40AE-A53E-55B88317D278"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:pubnub:pubnub:*:*:*:*:*:-:*:*",
"versionStartIncluding": "7.3.1",
"versionEndExcluding": "7.4.0",
"matchCriteriaId": "8FF1CC6E-E537-4776-BF26-C07C83EEE35A"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:pubnub:swift:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.2.0",
"matchCriteriaId": "24510B75-8FA4-46F5-A8C0-24C89141904B"
}
]
}
]
}
],
"references": [
{
"url": "https://gist.github.com/vargad/20237094fce7a0a28f0723d7ce395bb0",
"source": "report@snyk.io",
"tags": [
"Exploit",
"Issue Tracking"
]
},
{
"url": "https://github.com/pubnub/javascript/blob/master/src/crypto/modules/web.js%23L70",
"source": "report@snyk.io",
"tags": [
"Broken Link"
]
},
{
"url": "https://github.com/pubnub/javascript/commit/fb6cd0417cbb4ba87ea2d5d86a9c94774447e119",
"source": "report@snyk.io",
"tags": [
"Patch"
]
},
{
"url": "https://security.snyk.io/vuln/SNYK-COCOAPODS-PUBNUB-6098384",
"source": "report@snyk.io",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://security.snyk.io/vuln/SNYK-DOTNET-PUBNUB-6098372",
"source": "report@snyk.io",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGO-6098373",
"source": "report@snyk.io",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGOV7-6098374",
"source": "report@snyk.io",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098371",
"source": "report@snyk.io",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098380",
"source": "report@snyk.io",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://security.snyk.io/vuln/SNYK-JS-PUBNUB-5840690",
"source": "report@snyk.io",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://security.snyk.io/vuln/SNYK-PHP-PUBNUBPUBNUB-6098376",
"source": "report@snyk.io",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://security.snyk.io/vuln/SNYK-PUB-PUBNUB-6098385",
"source": "report@snyk.io",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://security.snyk.io/vuln/SNYK-PYTHON-PUBNUB-6098375",
"source": "report@snyk.io",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://security.snyk.io/vuln/SNYK-RUBY-PUBNUB-6098377",
"source": "report@snyk.io",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://security.snyk.io/vuln/SNYK-RUST-PUBNUB-6098378",
"source": "report@snyk.io",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://security.snyk.io/vuln/SNYK-SWIFT-PUBNUBSWIFT-6098381",
"source": "report@snyk.io",
"tags": [
"Third Party Advisory"
]
},
{
"url": "https://security.snyk.io/vuln/SNYK-UNMANAGED-PUBNUBCCORE-6098379",
"source": "report@snyk.io",
"tags": [
"Third Party Advisory"
]
}
]
}