title: Usage of disabled protocol
description: When a protocol selection parameter option disables all protocols without adding any then the default set of protocols would remain in the allowed set due to an error in the logic for removing protocols. The below command would perform a request to curl.se with a plaintext protocol which has been explicitly disabled.      curl --proto -all,-http http://curl.se  The flaw is only present if the set of selected protocols disables the entire set of available protocols, in itself a command with no practical use and therefore unlikely to be encountered in real situations. The curl security team has thus assessed this to be low severity bug.
problem types: CWE-115 Misinterpretation of Input
affected:
{
vendor: curl
product: curl
versions:
version: 8.6.0, status: affected, lessThanOrEqual: 8.6.0, versionType: semver
version: 8.5.0, status: affected, lessThanOrEqual: 8.5.0, versionType: semver
version: 8.4.0, status: affected, lessThanOrEqual: 8.4.0, versionType: semver
version: 8.3.0, status: affected, lessThanOrEqual: 8.3.0, versionType: semver
version: 8.2.1, status: affected, lessThanOrEqual: 8.2.1, versionType: semver
version: 8.2.0, status: affected, lessThanOrEqual: 8.2.0, versionType: semver
version: 8.1.2, status: affected, lessThanOrEqual: 8.1.2, versionType: semver
version: 8.1.1, status: affected, lessThanOrEqual: 8.1.1, versionType: semver
version: 8.1.0, status: affected, lessThanOrEqual: 8.1.0, versionType: semver
version: 8.0.1, status: affected, lessThanOrEqual: 8.0.1, versionType: semver
version: 8.0.0, status: affected, lessThanOrEqual: 8.0.0, versionType: semver
version: 7.88.1, status: affected, lessThanOrEqual: 7.88.1, versionType: semver
version: 7.88.0, status: affected, lessThanOrEqual: 7.88.0, versionType: semver
version: 7.87.0, status: affected, lessThanOrEqual: 7.87.0, versionType: semver
version: 7.86.0, status: affected, lessThanOrEqual: 7.86.0, versionType: semver
version: 7.85.0, status: affected, lessThanOrEqual: 7.85.0, versionType: semver
defaultStatus: unaffected
}