Security hardening: fix 19 of 22 vulnerabilities found in audit
Critical: - Trunk HMAC-SHA1 auth: MsgTrunkHello now carries nonce+digest, peer disconnected on secret mismatch (was loaded but never verified) High: - Pre-hello guard: reject all trunk messages before handshake completes - CSPRNG for password generator: random.choice -> secrets.choice Medium: - Path traversal protection on callsign-based file operations - Replace assert() on network-derived UDP data with error handling - HTTP server connection throttling (matching main TCP server) - try/catch on regex compilation in callsignOk()/emailOk() - Per-link trunk talker tracking (clearAllTrunkTalkers scoped to peer) - Regenerate priority nonce on each new trunk connection - Cap active TGs and trunk talkers at 10000 each - Don't reset heartbeat for unauthenticated client app messages - Fix RENEW_AFTER integer division (2/3 -> 2.0/3.0) Low: - JSON-escape HTTP method in error response - snprintf for pidfile error message - MsgAuthResponse::digest() null check on empty vector - Check unpack() return values in AsyncMsg.h vector/map/string - Replace stack VLA with std::string; reserve+push_back vs resize - Require TalkerStart before accepting trunk audio
This commit is contained in:
commit
fca7c33794
276 files changed
+73533
No files matched your search
@@ -0,0 +1,40 @@
|
||||
# Project release version
|
||||
PROJECT=master
|
||||
|
||||
# Version for the Qtel application
|
||||
QTEL=1.2.99.1
|
||||
|
||||
# Version for the EchoLib library
|
||||
LIBECHOLIB=1.3.5.99.0
|
||||
|
||||
# Version for the Async library
|
||||
LIBASYNC=1.8.99.1
|
||||
|
||||
# SvxLink versions
|
||||
SVXLINK=1.9.99.36
|
||||
MODULE_HELP=1.0.0.99.1
|
||||
MODULE_PARROT=1.1.1.99.2
|
||||
MODULE_ECHO_LINK=1.6.0.99.3
|
||||
MODULE_TCL=1.0.1.99.1
|
||||
MODULE_PROPAGATION_MONITOR=1.0.1.99.2
|
||||
MODULE_TCL_VOICE_MAIL=1.0.3.99.2
|
||||
MODULE_SELCALLENC=1.0.0.99.2
|
||||
MODULE_DTMF_REPEATER=1.0.2.99.1
|
||||
MODULE_METAR_INFO=1.2.2.99.1
|
||||
MODULE_FRN=1.1.0.99.1
|
||||
MODULE_TRX=1.0.0.99.4
|
||||
|
||||
# Version for the RemoteTrx application
|
||||
REMOTE_TRX=1.5.99.7
|
||||
|
||||
# Version for the signal level calibration utility
|
||||
SIGLEV_DET_CAL=1.0.10.99.1
|
||||
|
||||
# Version for the deviation calibration utility
|
||||
DEVCAL=1.0.4.99.3
|
||||
|
||||
# Version for svxserver
|
||||
SVXSERVER=0.0.6.99.0
|
||||
|
||||
# Version for SvxReflector
|
||||
SVXREFLECTOR=1.3.99.12+trunk1
|
||||
Reference in new issue
Block a user