151 lines
6.6 KiB
JSON
151 lines
6.6 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2026-65066",
|
|
"assignerOrgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "CPANSec",
|
|
"dateReserved": "2026-07-21T15:29:37.116Z",
|
|
"datePublished": "2026-07-21T19:09:03.992Z",
|
|
"dateUpdated": "2026-07-23T13:08:00.634Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"affected": [
|
|
{
|
|
"collectionURL": "https://cpan.org/modules",
|
|
"defaultStatus": "unaffected",
|
|
"packageName": "Data-RingBuffer-Shared",
|
|
"product": "Data::RingBuffer::Shared",
|
|
"programFiles": [
|
|
"ring.h"
|
|
],
|
|
"repo": "https://github.com/vividsnow/perl5-data-ringbuffer-shared",
|
|
"vendor": "EGOR",
|
|
"versions": [
|
|
{
|
|
"lessThan": "0.04",
|
|
"status": "affected",
|
|
"version": "0",
|
|
"versionType": "custom"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "Data::RingBuffer::Shared versions before 0.04 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW.\n\nThe segment is created in ring.h with open(path, O_RDWR|O_CREAT, 0666). The mode is 0666, so under the default umask 022 the file is created mode 0644 (world-readable). O_NOFOLLOW is absent, so a symlink planted at the path is followed, and O_EXCL is absent, so the open silently uses a pre-planted file instead of failing.\n\nA \"Shared\" segment naturally lives in a shared directory such as /tmp or /dev/shm, where any local user can read the IPC payloads stored in the world-readable segment, and a pre-planted file or symlink at the path lets a local attacker win a pre-creation race or redirect the open."
|
|
}
|
|
],
|
|
"problemTypes": [
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"cweId": "CWE-732",
|
|
"description": "CWE-732 Incorrect Permission Assignment for Critical Resource",
|
|
"lang": "en",
|
|
"type": "CWE"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"cweId": "CWE-59",
|
|
"description": "CWE-59 Improper Link Resolution Before File Access",
|
|
"lang": "en",
|
|
"type": "CWE"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"providerMetadata": {
|
|
"orgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
|
|
"shortName": "CPANSec",
|
|
"dateUpdated": "2026-07-21T19:09:03.992Z"
|
|
},
|
|
"references": [
|
|
{
|
|
"url": "https://metacpan.org/release/EGOR/Data-RingBuffer-Shared-0.04/diff/EGOR/Data-RingBuffer-Shared-0.03#ring.h"
|
|
},
|
|
{
|
|
"tags": [
|
|
"release-notes"
|
|
],
|
|
"url": "https://metacpan.org/release/EGOR/Data-RingBuffer-Shared-0.04/changes"
|
|
}
|
|
],
|
|
"solutions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "Upgrade to Data::RingBuffer::Shared 0.04 or later, which creates the backing file mode 0600 (owner-only) with O_EXCL and O_NOFOLLOW."
|
|
}
|
|
],
|
|
"source": {
|
|
"discovery": "UNKNOWN"
|
|
},
|
|
"title": "Data::RingBuffer::Shared versions before 0.04 for Perl create a world-readable mmap backing file and open it without O_EXCL or O_NOFOLLOW",
|
|
"workarounds": [
|
|
{
|
|
"lang": "en",
|
|
"value": "For deployments that cannot upgrade to 0.04, set a restrictive umask so the backing file is not world-readable and place it in a directory only the owning user can access."
|
|
}
|
|
],
|
|
"x_generator": {
|
|
"engine": "cpansec-cna-tool 0.1"
|
|
}
|
|
},
|
|
"adp": [
|
|
{
|
|
"metrics": [
|
|
{
|
|
"cvssV3_1": {
|
|
"scope": "CHANGED",
|
|
"version": "3.1",
|
|
"baseScore": 3.8,
|
|
"attackVector": "LOCAL",
|
|
"baseSeverity": "LOW",
|
|
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N",
|
|
"integrityImpact": "NONE",
|
|
"userInteraction": "NONE",
|
|
"attackComplexity": "LOW",
|
|
"availabilityImpact": "NONE",
|
|
"privilegesRequired": "LOW",
|
|
"confidentialityImpact": "LOW"
|
|
}
|
|
},
|
|
{
|
|
"other": {
|
|
"type": "ssvc",
|
|
"content": {
|
|
"timestamp": "2026-07-23T13:07:52.222794Z",
|
|
"id": "CVE-2026-65066",
|
|
"options": [
|
|
{
|
|
"Exploitation": "none"
|
|
},
|
|
{
|
|
"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": "2026-07-23T13:08:00.634Z"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |