122 lines
5.5 KiB
JSON
122 lines
5.5 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2026-123370",
|
|
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "GitHub_M",
|
|
"dateReserved": "2026-11-05T20:43:10.420Z",
|
|
"datePublished": "2026-11-09T17:34:24.026Z",
|
|
"dateUpdated": "2026-11-09T17:34:24.026Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"title": "compose-lint: `fix --apply` can delete a line the user did not select, including a security setting",
|
|
"problemTypes": [
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"cweId": "CWE-193",
|
|
"lang": "en",
|
|
"description": "CWE-193: Off-by-one Error",
|
|
"type": "CWE"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"metrics": [
|
|
{
|
|
"cvssV4_0": {
|
|
"attackVector": "NETWORK",
|
|
"attackComplexity": "LOW",
|
|
"attackRequirements": "NONE",
|
|
"privilegesRequired": "NONE",
|
|
"userInteraction": "ACTIVE",
|
|
"vulnConfidentialityImpact": "NONE",
|
|
"vulnIntegrityImpact": "LOW",
|
|
"vulnAvailabilityImpact": "NONE",
|
|
"subConfidentialityImpact": "NONE",
|
|
"subIntegrityImpact": "LOW",
|
|
"subAvailabilityImpact": "NONE",
|
|
"baseScore": 5.1,
|
|
"baseSeverity": "MEDIUM",
|
|
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
|
|
"version": "4.0"
|
|
}
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"name": "https://github.com/tmatens/compose-lint/security/advisories/GHSA-65v8-q222-64xx",
|
|
"tags": [
|
|
"x_refsource_CONFIRM"
|
|
],
|
|
"url": "https://github.com/tmatens/compose-lint/security/advisories/GHSA-65v8-q222-64xx"
|
|
},
|
|
{
|
|
"name": "https://github.com/tmatens/compose-lint/pull/547",
|
|
"tags": [
|
|
"x_refsource_MISC"
|
|
],
|
|
"url": "https://github.com/tmatens/compose-lint/pull/547"
|
|
},
|
|
{
|
|
"name": "https://github.com/tmatens/compose-lint/pull/549",
|
|
"tags": [
|
|
"x_refsource_MISC"
|
|
],
|
|
"url": "https://github.com/tmatens/compose-lint/pull/549"
|
|
},
|
|
{
|
|
"name": "https://github.com/tmatens/compose-lint/commit/c9d453a6a69c076788fe1db05cb54684a616d1de",
|
|
"tags": [
|
|
"x_refsource_MISC"
|
|
],
|
|
"url": "https://github.com/tmatens/compose-lint/commit/c9d453a6a69c076788fe1db05cb54684a616d1de"
|
|
},
|
|
{
|
|
"name": "https://github.com/tmatens/compose-lint/commit/cbbf886d91347dea9c51b584eb50088e70007d0d",
|
|
"tags": [
|
|
"x_refsource_MISC"
|
|
],
|
|
"url": "https://github.com/tmatens/compose-lint/commit/cbbf886d91347dea9c51b584eb50088e70007d0d"
|
|
},
|
|
{
|
|
"name": "https://github.com/tmatens/compose-lint/releases/tag/v0.18.0",
|
|
"tags": [
|
|
"x_refsource_MISC"
|
|
],
|
|
"url": "https://github.com/tmatens/compose-lint/releases/tag/v0.18.0"
|
|
}
|
|
],
|
|
"affected": [
|
|
{
|
|
"vendor": "tmatens",
|
|
"product": "compose-lint",
|
|
"versions": [
|
|
{
|
|
"version": ">= 0.9.0, < 0.18.0",
|
|
"status": "affected"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"providerMetadata": {
|
|
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
|
|
"shortName": "GitHub_M",
|
|
"dateUpdated": "2026-11-09T17:34:24.026Z"
|
|
},
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "compose-lint is a Docker Compose security linter that identifies dangerous misconfigurations before deployment. From 0.9.0 until 0.18.0, compose-lint's YAML parser recognizes lone carriage returns and Unicode line separators U+0085, U+2028, and U+2029 as line breaks while fix position conversion counts only newline characters. A pull request can place one of these separators in a quoted value so fix --apply shifts each later edit and deletes the line after the selected target, including an unselected network or other security setting. The resulting Compose file can remain valid, post-edit checks can pass, and the command can report a successful fix even though the dry-run diff was the only place showing the extra deletion. This issue is fixed in version 0.18.0."
|
|
}
|
|
],
|
|
"source": {
|
|
"advisory": "GHSA-65v8-q222-64xx",
|
|
"discovery": "UNKNOWN"
|
|
}
|
|
}
|
|
}
|
|
} |