Description
libcurl might in some circumstances reuse the wrong connection for SMB(S) transfers. libcurl features a pool of recent connections so that subsequent requests can reuse an existing connection to avoid overhead. When reusing a connection a range of criteria must be met. Due to a logical error in the code, a network transfer operation that was requested by an application could wrongfully reuse an existing SMB connection to the same server that was using a different "share" than the new subsequent transfer should. This could in unlucky situations lead to the download of the wrong file or the upload of a file to the wrong place. When this happens, the same credentials are used and the server name is the same.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
curl curl
Default version status: unaffected
7.40.0 to < 8.14.2affected8.15.0 to < 8.16.1affected8.17.0 to < 8.20.0affected
curl curl
Default version status: unaffected
aec2e865f06669b9cb5d26cc1148d70bc418b163 to < 74a169575d6412dc0ff532acdf94de35a6c2a571affected
curl curl
Default version status: unaffected
8.19.0affected8.18.0affected8.17.0affected8.16.0affected8.15.0affected8.14.1affected8.14.0affected8.13.0affected8.12.1affected8.12.0affected8.11.1affected8.11.0affected8.10.1affected8.10.0affected8.9.1affected8.9.0affected8.8.0affected8.7.1affected8.7.0affected8.6.0affected8.5.0affected8.4.0affected8.3.0affected8.2.1affected8.2.0affected8.1.2affected8.1.1affected8.1.0affected8.0.1affected8.0.0affected7.88.1affected7.88.0affected7.87.0affected7.86.0affected7.85.0affected7.84.0affected7.83.1affected7.83.0affected7.82.0affected7.81.0affected7.80.0affected7.79.1affected7.79.0affected7.78.0affected7.77.0affected7.76.1affected7.76.0affected7.75.0affected7.74.0affected7.73.0affected7.72.0affected7.71.1affected7.71.0affected7.70.0affected7.69.1affected7.69.0affected7.68.0affected7.67.0affected7.66.0affected7.65.3affected7.65.2affected7.65.1affected7.65.0affected7.64.1affected7.64.0affected7.63.0affected7.62.0affected7.61.1affected7.61.0affected7.60.0affected7.59.0affected7.58.0affected7.57.0affected7.56.1affected7.56.0affected7.55.1affected7.55.0affected7.54.1affected7.54.0affected7.53.1affected7.53.0affected7.52.1affected7.52.0affected7.51.0affected7.50.3affected7.50.2affected7.50.1affected7.50.0affected7.49.1affected7.49.0affected7.48.0affected7.47.1affected7.47.0affected7.46.0affected7.45.0affected7.44.0affected7.43.0affected7.42.1affected7.42.0affected7.41.0affected7.40.0affected