From bebdffb4de586fb43fd07ac549121f4b22f6812d Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Mon, 18 Oct 2021 13:18:01 -0500 Subject: [PATCH] Fix CVE-2021-39359 by forcing TLS certificate validation This was done by adding "ssl-use-system-ca-file", TRUE to the options for each soup_session_new_with_options() call that was made. Tested on Linux From Scratch 11.0 and Debian 11. Fixes #249 --- providers/web/gda-web-provider.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/web/gda-web-provider.c b/providers/web/gda-web-provider.c index cf8d14dc3..cc818895f 100644 --- a/providers/web/gda-web-provider.c +++ b/providers/web/gda-web-provider.c @@ -355,8 +355,8 @@ gda_web_provider_open_connection (GdaServerProvider *provider, GdaConnection *cn g_rec_mutex_init (& (cdata->mutex)); cdata->server_id = NULL; cdata->forced_closing = FALSE; - cdata->worker_session = soup_session_new (); - cdata->front_session = soup_session_new_with_options ("max-conns-per-host", 1, NULL); + cdata->worker_session = soup_session_new_with_options ("ssl-use-system-ca-file", TRUE, NULL); + cdata->front_session = soup_session_new_with_options ("max-conns-per-host", 1, "ssl-use-system-ca-file", TRUE, NULL); if (use_ssl) { server_url = g_string_new ("https://"); g_print ("USING SSL\n"); -- GitLab idity.scm?id=a1dc5ac832a106d46450961e78e7db3f83bf2bff'>commitdiff
path: root/gnu/packages/solidity.scm
AgeCommit message (Expand)Author
2024-09-08Add some missing header comment header comments....* gnu/packages/minetest.scm: Add the ‘GNU Guix’ header comment. * gnu/packages/notcurses.scm: Likewise. * gnu/packages/presentation.scm: Likewise. * gnu/packages/solidity.scm: Likewise. * guix/build/minetest-build-system.scm: Likewise. * gnu/packages/vnc.scm: Add missing ‘;’. * guix/scripts/import/crate.scm: Remove leading newline. Change-Id: I5294e6067b9348f2929d823a07d4ec335eaa5ecd Tobias Geerinckx-Rice
2024-05-06gnu: solidity: Update to 0.8.25....* gnu/packages/solidity.scm (solidity): Update to 0.8.25. [arguments]: Add configure-flag to allow an older version of z3. [inputs]: Replace fmt-8.0 with fmt. Change-Id: I1501d16323566c066c58c1c4bbf90dd17a23f021 Efraim Flashner
2024-05-06gnu: solidity: Allow a newer version of jsoncpp....* gnu/packages/solidity.scm (solidity)[arguments]: Add a phase to allow newer versions of jsoncpp. Change-Id: I4f7b5b3685f8d784da221ccb0eea1ba297e3e0b8 Efraim Flashner