summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-openstackclient
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2025-10-15 22:56:55 +0200
committerRobert Hensing <robert@roberthensing.nl>2025-10-15 22:57:18 +0200
commit927bee3692602d23b1c3c384a6c96237947ec7ba (patch)
tree20548f990e69f55265c74ec4c97009ee276bb315 /pkgs/development/python-modules/python-openstackclient
parent0f4d12d67da771ab6386ef670cc71ac86f2c45a6 (diff)
libgit2: fix heap buffer overflow in SSH custom credential handling
The ssh_custom_free() function was calling strlen() on binary public key data, causing a heap buffer overflow when the data wasn't null-terminated. It also caused keys with null bytes in them to be not cleared completely. This patch uses the stored publickey_len field instead of strlen() to determine the correct buffer size for zeroing memory. This fix has been published in https://github.com/libgit2/libgit2/pull/7146 Nix uses libgit2, but not the libssh2 integration. Other applications may be affected, and need this fix.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions