confluentinc / librdkafka

The Apache Kafka C/C++ library
Other
194 stars 3.14k forks source link

OpenSSL 3.0.8 in latest Nuget release #4786

Open davmas30cent opened 2 months ago

davmas30cent commented 2 months ago

Description

The Nuget packet still uses the 3.0.8 version of OpenSSL even though an upgrade to 3.0.12 was done in version 2.4.0 of librdkafka. Vulnerability scanners then report vulnerabilities, such as CVE-2023-5363.

How to reproduce

dotnet new console dotnet add package librdkafka.redist --version 2.5.0 dotnet build

Vulnerable versions are in the following directories (libcrypto.dll and libssl-3.dll):

Checklist

emasab commented 2 months ago

That's only for Windows because we use the LTS version of OpenSSL 3.0.x and that's not updated in vcpkg https://vcpkg.io/en/package/openssl we can think about using the non-LTS version for window packaging.

davmas30cent commented 1 month ago

Do you have any idea why 3.0.12 was not added to vcpkg? Maybe we should raise that issue with them.

zhuoyan-khoh commented 1 month ago

Hi, is there a plan to address this security issue? If yes, may I know when will the fix be merged into master?

milindl commented 1 month ago

There is a reason why 3.0.12 is not present in vcpkg, see the upstream issue in vcpkg here: https://github.com/microsoft/vcpkg/issues/39417 . I don't think there's a plan by the maintainers to add 3.0.12 or 3.0.13 to vcpkg.

We'll internally discuss what we can do.

zhuoyan-khoh commented 1 month ago

Thanks @milindl. I understand the issue better now. Can you help to update once you guys have a plan. Thanks again.