Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Commit 8db5370

Browse files
committed
Merge commit '64ce53fdbacb4a1a75c3f5e5e8b3624da7570226'
2 parents 9c0eb11 + 64ce53f commit 8db5370

78 files changed

Lines changed: 3478 additions & 1441 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitlab-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ fedora/undefined-sanitizer:
153153
- obj/
154154

155155
fedora/csbuild:
156+
variables:
157+
GIT_DEPTH: "100"
156158
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
157159
script:
158160
- |

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules")
1010
include(DefineCMakeDefaults)
1111
include(DefineCompilerFlags)
1212

13-
project(libssh VERSION 0.9.2 LANGUAGES C)
13+
project(libssh VERSION 0.9.3 LANGUAGES C)
1414

1515
# global needed variable
1616
set(APPLICATION_NAME ${PROJECT_NAME})
@@ -22,7 +22,7 @@ set(APPLICATION_NAME ${PROJECT_NAME})
2222
# Increment AGE. Set REVISION to 0
2323
# If the source code was changed, but there were no interface changes:
2424
# Increment REVISION.
25-
set(LIBRARY_VERSION "4.8.3")
25+
set(LIBRARY_VERSION "4.8.4")
2626
set(LIBRARY_SOVERSION "4")
2727

2828
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked

CPackConfig.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
1010

1111
# SOURCE GENERATOR
1212
set(CPACK_SOURCE_GENERATOR "TXZ")
13-
set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]git/;/[.]clangd/;.gitignore;/build*;/obj*;tags;cscope.*;compile_commands.json")
13+
set(CPACK_SOURCE_IGNORE_FILES "~$;[.]swp$;/[.]git/;/[.]clangd/;.gitignore;/build*;/obj*;tags;cscope.*;compile_commands.json;.*\.patch")
1414
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
1515

1616
### NSIS INSTALLER
@@ -23,7 +23,7 @@ if (WIN32)
2323
set(CPACK_GENERATOR "${CPACK_GENERATOR};NSIS")
2424
set(CPACK_NSIS_DISPLAY_NAME "The SSH Library")
2525
set(CPACK_NSIS_COMPRESSOR "/SOLID zlib")
26-
set(CPACK_NSIS_MENU_LINKS "http://www.libssh.org/" "libssh homepage")
26+
set(CPACK_NSIS_MENU_LINKS "https://www.libssh.org/" "libssh homepage")
2727
endif (NSIS_MAKE)
2828
endif (WIN32)
2929

ChangeLog

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
ChangeLog
22
==========
33

4+
version 0.9.3 (released 2019-12-10)
5+
* Fixed CVE-2019-14889 - SCP: Unsanitized location leads to command execution
6+
* SSH-01-003 Client: Missing NULL check leads to crash in erroneous state
7+
* SSH-01-006 General: Various unchecked Null-derefs cause DOS
8+
* SSH-01-007 PKI Gcrypt: Potential UAF/double free with RSA pubkeys
9+
* SSH-01-010 SSH: Deprecated hash function in fingerprinting
10+
* SSH-01-013 Conf-Parsing: Recursive wildcards in hostnames lead to DOS
11+
* SSH-01-014 Conf-Parsing: Integer underflow leads to OOB array access
12+
* SSH-01-001 State Machine: Initial machine states should be set explicitly
13+
* SSH-01-002 Kex: Differently bound macros used to iterate same array
14+
* SSH-01-005 Code-Quality: Integer sign confusion during assignments
15+
* SSH-01-008 SCP: Protocol Injection via unescaped File Names
16+
* SSH-01-009 SSH: Update documentation which RFCs are implemented
17+
* SSH-01-012 PKI: Information leak via uninitialized stack buffer
18+
419
version 0.9.2 (released 2019-11-07)
520
* Fixed libssh-config.cmake
621
* Fixed issues with rsa algorithm negotiation (T191)

CompilerChecks.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ if (UNIX)
4242
add_c_compiler_flag("-Wstrict-overflow=2" SUPPORTED_COMPILER_FLAGS)
4343
add_c_compiler_flag("-Wno-format-zero-length" SUPPORTED_COMPILER_FLAGS)
4444
add_c_compiler_flag("-Wmissing-field-initializers" SUPPORTED_COMPILER_FLAGS)
45+
add_c_compiler_flag("-Wsign-compare" SUPPORTED_COMPILER_FLAGS)
4546

4647
check_c_compiler_flag("-Wformat" REQUIRED_FLAGS_WFORMAT)
4748
if (REQUIRED_FLAGS_WFORMAT)

INSTALL

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
In order to build libssh, you need to install several components:
88

99
- A C compiler
10-
- [CMake](http://www.cmake.org) >= 2.6.0.
11-
- [openssl](http://www.openssl.org) >= 0.9.8
10+
- [CMake](https://www.cmake.org) >= 2.6.0.
11+
- [openssl](https://www.openssl.org) >= 0.9.8
1212
or
13-
- [gcrypt](http://www.gnu.org/directory/Security/libgcrypt.html) >= 1.4
14-
- [libz](http://www.zlib.net) >= 1.2
13+
- [gcrypt](https://www.gnu.org/directory/Security/libgcrypt.html) >= 1.4
14+
- [libz](https://www.zlib.net) >= 1.2
1515

1616
optional:
1717
- [cmocka](https://cmocka.org/) >= 1.1.0
@@ -117,4 +117,4 @@ This document is written using [Markdown][] syntax, making it possible to
117117
provide usable information in both plain text and HTML format. Whenever
118118
modifying this document please use [Markdown][] syntax.
119119

120-
[markdown]: http://www.daringfireball.net/projects/markdown
120+
[markdown]: https://www.daringfireball.net/projects/markdown

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If you ask yourself how to compile libssh, please read INSTALL before anything.
3131
3* Where ?
3232
-_-_-_-_-_-_
3333

34-
http://www.libssh.org
34+
https://www.libssh.org
3535

3636
4* Contributing
3737
-_-_-_-_-_-_-_-_-_

README.CodingStyle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ following to $HOME/.vimrc:
6060

6161
You can use the Vim gitmodline plugin to store this in the git config:
6262

63-
http://git.cryptomilk.org/projects/vim-gitmodeline.git/
63+
https://git.cryptomilk.org/projects/vim-gitmodeline.git/
6464

6565
For Vim, the following settings in $HOME/.vimrc will also deal with
6666
displaying trailing whitespace:

SubmittingPatches

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ much easier to work with individuals who have ownership than corporate
2323
legal departments if we ever need to make reasonable compromises with
2424
people using and working with libssh.
2525

26-
We track the ownership of every part of libssh via http://git.libssh.org,
26+
We track the ownership of every part of libssh via https://git.libssh.org,
2727
our source code control system, so we know the provenance of every piece
2828
of code that is committed to libssh.
2929

@@ -85,7 +85,7 @@ By making a contribution to this project, I certify that:
8585
Free Software Foundation; either version 2.1 of
8686
the License, or (at the option of the project) any later version.
8787

88-
http://www.gnu.org/licenses/lgpl-2.1.html
88+
https://www.gnu.org/licenses/lgpl-2.1.html
8989

9090

9191
We will maintain a copy of that email as a record that you have the

doc/curve25519-sha256@libssh.org.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ This number is calculated using the following procedure:
112112
This conversion follows the network byte order. This step differs from
113113
RFC5656.
114114

115-
[RFC5656] http://tools.ietf.org/html/rfc5656
115+
[RFC5656] https://tools.ietf.org/html/rfc5656
116116
[SCHNEIER] https://www.schneier.com/blog/archives/2013/09/the_nsa_is_brea.html#c1675929
117-
[DJB] http://cr.yp.to/talks/2013.05.31/slides-dan+tanja-20130531-4x3.pdf
117+
[DJB] https://cr.yp.to/talks/2013.05.31/slides-dan+tanja-20130531-4x3.pdf
118118
[Curve25519] "Curve25519: new Diffie-Hellman speed records."
119-
http://cr.yp.to/ecdh/curve25519-20060209.pdf
119+
https://cr.yp.to/ecdh/curve25519-20060209.pdf

0 commit comments

Comments
 (0)