CVE-2023-26154 (GCVE-0-2023-26154)
Vulnerability from cvelistv5 – Published: 2023-12-06 05:00 – Updated: 2024-08-02 11:39
VLAI?
Summary
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.
**Note:**
In order to exploit this vulnerability, the attacker needs to invest resources in preparing the attack and brute-force the encryption.
Severity ?
5.9 (Medium)
CWE
- CWE-331 - Insufficient Entropy
Assigner
References
Impacted products
| Vendor | Product | Version | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n/a | pubnub |
Affected:
0 , < 7.4.0
(semver)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Credits
Varga Daniel
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-02T11:39:06.653Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://security.snyk.io/vuln/SNYK-JS-PUBNUB-5840690"
},
{
"tags": [
"x_transferred"
],
"url": "https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098371"
},
{
"tags": [
"x_transferred"
],
"url": "https://security.snyk.io/vuln/SNYK-DOTNET-PUBNUB-6098372"
},
{
"tags": [
"x_transferred"
],
"url": "https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGO-6098373"
},
{
"tags": [
"x_transferred"
],
"url": "https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGOV7-6098374"
},
{
"tags": [
"x_transferred"
],
"url": "https://security.snyk.io/vuln/SNYK-PYTHON-PUBNUB-6098375"
},
{
"tags": [
"x_transferred"
],
"url": "https://security.snyk.io/vuln/SNYK-PHP-PUBNUBPUBNUB-6098376"
},
{
"tags": [
"x_transferred"
],
"url": "https://security.snyk.io/vuln/SNYK-RUBY-PUBNUB-6098377"
},
{
"tags": [
"x_transferred"
],
"url": "https://security.snyk.io/vuln/SNYK-RUST-PUBNUB-6098378"
},
{
"tags": [
"x_transferred"
],
"url": "https://security.snyk.io/vuln/SNYK-UNMANAGED-PUBNUBCCORE-6098379"
},
{
"tags": [
"x_transferred"
],
"url": "https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098380"
},
{
"tags": [
"x_transferred"
],
"url": "https://security.snyk.io/vuln/SNYK-SWIFT-PUBNUBSWIFT-6098381"
},
{
"tags": [
"x_transferred"
],
"url": "https://security.snyk.io/vuln/SNYK-COCOAPODS-PUBNUB-6098384"
},
{
"tags": [
"x_transferred"
],
"url": "https://security.snyk.io/vuln/SNYK-PUB-PUBNUB-6098385"
},
{
"tags": [
"x_transferred"
],
"url": "https://gist.github.com/vargad/20237094fce7a0a28f0723d7ce395bb0"
},
{
"tags": [
"x_transferred"
],
"url": "https://github.com/pubnub/javascript/blob/master/src/crypto/modules/web.js%23L70"
},
{
"tags": [
"x_transferred"
],
"url": "https://github.com/pubnub/javascript/commit/fb6cd0417cbb4ba87ea2d5d86a9c94774447e119"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "pubnub",
"vendor": "n/a",
"versions": [
{
"lessThan": "7.4.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
},
{
"product": "com.pubnub:pubnub",
"vendor": "n/a",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
},
{
"product": "Pubnub",
"vendor": "n/a",
"versions": [
{
"lessThan": "6.19.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
},
{
"product": "github.com/pubnub/go",
"vendor": "n/a",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
},
{
"product": "github.com/pubnub/go/v7",
"vendor": "n/a",
"versions": [
{
"lessThan": "7.2.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
},
{
"product": "pubnub",
"vendor": "n/a",
"versions": [
{
"lessThan": "7.3.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
},
{
"product": "pubnub/pubnub",
"vendor": "n/a",
"versions": [
{
"lessThan": "6.1.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
},
{
"product": "pubnub",
"vendor": "n/a",
"versions": [
{
"lessThan": "5.3.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
},
{
"product": "pubnub",
"vendor": "n/a",
"versions": [
{
"lessThan": "0.4.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
},
{
"product": "pubnub/c-core",
"vendor": "n/a",
"versions": [
{
"lessThan": "4.5.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
},
{
"product": "com.pubnub:pubnub-kotlin",
"vendor": "n/a",
"versions": [
{
"lessThan": "7.7.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
},
{
"product": "pubnub/swift",
"vendor": "n/a",
"versions": [
{
"lessThan": "6.2.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
},
{
"product": "PubNub",
"vendor": "n/a",
"versions": [
{
"lessThan": "5.2.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
},
{
"product": "pubnub",
"vendor": "n/a",
"versions": [
{
"lessThan": "4.3.0",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"value": "Varga Daniel"
}
],
"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."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.9,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-331",
"description": "Insufficient Entropy",
"lang": "en"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2023-12-06T05:00:02.795Z",
"orgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
"shortName": "snyk"
},
"references": [
{
"url": "https://security.snyk.io/vuln/SNYK-JS-PUBNUB-5840690"
},
{
"url": "https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098371"
},
{
"url": "https://security.snyk.io/vuln/SNYK-DOTNET-PUBNUB-6098372"
},
{
"url": "https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGO-6098373"
},
{
"url": "https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGOV7-6098374"
},
{
"url": "https://security.snyk.io/vuln/SNYK-PYTHON-PUBNUB-6098375"
},
{
"url": "https://security.snyk.io/vuln/SNYK-PHP-PUBNUBPUBNUB-6098376"
},
{
"url": "https://security.snyk.io/vuln/SNYK-RUBY-PUBNUB-6098377"
},
{
"url": "https://security.snyk.io/vuln/SNYK-RUST-PUBNUB-6098378"
},
{
"url": "https://security.snyk.io/vuln/SNYK-UNMANAGED-PUBNUBCCORE-6098379"
},
{
"url": "https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098380"
},
{
"url": "https://security.snyk.io/vuln/SNYK-SWIFT-PUBNUBSWIFT-6098381"
},
{
"url": "https://security.snyk.io/vuln/SNYK-COCOAPODS-PUBNUB-6098384"
},
{
"url": "https://security.snyk.io/vuln/SNYK-PUB-PUBNUB-6098385"
},
{
"url": "https://gist.github.com/vargad/20237094fce7a0a28f0723d7ce395bb0"
},
{
"url": "https://github.com/pubnub/javascript/blob/master/src/crypto/modules/web.js%23L70"
},
{
"url": "https://github.com/pubnub/javascript/commit/fb6cd0417cbb4ba87ea2d5d86a9c94774447e119"
}
]
}
},
"cveMetadata": {
"assignerOrgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
"assignerShortName": "snyk",
"cveId": "CVE-2023-26154",
"datePublished": "2023-12-06T05:00:02.795Z",
"dateReserved": "2023-02-20T10:28:48.930Z",
"dateUpdated": "2024-08-02T11:39:06.653Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"fkie_nvd": {
"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\"}]}]}]",
"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.\"}]",
"id": "CVE-2023-26154",
"lastModified": "2024-11-21T07:50:53.593",
"metrics": "{\"cvssMetricV31\": [{\"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\", \"baseScore\": 5.9, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"NONE\"}, \"exploitabilityScore\": 2.2, \"impactScore\": 3.6}, {\"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\", \"baseScore\": 5.9, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"NONE\"}, \"exploitabilityScore\": 2.2, \"impactScore\": 3.6}]}",
"published": "2023-12-06T05:15:10.437",
"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\"]}, {\"url\": \"https://gist.github.com/vargad/20237094fce7a0a28f0723d7ce395bb0\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Exploit\", \"Issue Tracking\"]}, {\"url\": \"https://github.com/pubnub/javascript/blob/master/src/crypto/modules/web.js%23L70\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Broken Link\"]}, {\"url\": \"https://github.com/pubnub/javascript/commit/fb6cd0417cbb4ba87ea2d5d86a9c94774447e119\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}, {\"url\": \"https://security.snyk.io/vuln/SNYK-COCOAPODS-PUBNUB-6098384\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://security.snyk.io/vuln/SNYK-DOTNET-PUBNUB-6098372\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGO-6098373\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGOV7-6098374\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098371\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098380\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://security.snyk.io/vuln/SNYK-JS-PUBNUB-5840690\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://security.snyk.io/vuln/SNYK-PHP-PUBNUBPUBNUB-6098376\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://security.snyk.io/vuln/SNYK-PUB-PUBNUB-6098385\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://security.snyk.io/vuln/SNYK-PYTHON-PUBNUB-6098375\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://security.snyk.io/vuln/SNYK-RUBY-PUBNUB-6098377\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://security.snyk.io/vuln/SNYK-RUST-PUBNUB-6098378\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://security.snyk.io/vuln/SNYK-SWIFT-PUBNUBSWIFT-6098381\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}, {\"url\": \"https://security.snyk.io/vuln/SNYK-UNMANAGED-PUBNUBCCORE-6098379\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Third Party Advisory\"]}]",
"sourceIdentifier": "report@snyk.io",
"vulnStatus": "Modified",
"weaknesses": "[{\"source\": \"report@snyk.io\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-331\"}]}, {\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-331\"}]}]"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2023-26154\",\"sourceIdentifier\":\"report@snyk.io\",\"published\":\"2023-12-06T05:15:10.437\",\"lastModified\":\"2024-11-21T07:50:53.593\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"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\":\"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\",\"baseScore\":5.9,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.2,\"impactScore\":3.6},{\"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\",\"baseScore\":5.9,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.2,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"report@snyk.io\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-331\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"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\"]},{\"url\":\"https://gist.github.com/vargad/20237094fce7a0a28f0723d7ce395bb0\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Issue Tracking\"]},{\"url\":\"https://github.com/pubnub/javascript/blob/master/src/crypto/modules/web.js%23L70\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Broken Link\"]},{\"url\":\"https://github.com/pubnub/javascript/commit/fb6cd0417cbb4ba87ea2d5d86a9c94774447e119\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-COCOAPODS-PUBNUB-6098384\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-DOTNET-PUBNUB-6098372\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGO-6098373\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPUBNUBGOV7-6098374\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098371\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-JAVA-COMPUBNUB-6098380\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-JS-PUBNUB-5840690\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-PHP-PUBNUBPUBNUB-6098376\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-PUB-PUBNUB-6098385\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-PYTHON-PUBNUB-6098375\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-RUBY-PUBNUB-6098377\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-RUST-PUBNUB-6098378\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-SWIFT-PUBNUBSWIFT-6098381\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://security.snyk.io/vuln/SNYK-UNMANAGED-PUBNUBCCORE-6098379\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]}]}}"
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…