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 id=48e1cbdf6ed307e8e5dbfd2e7e0731b3432d50a7'>commitdiff
path: root/gnu/packages/debian.scm
AgeCommit message (Expand)Author
2019-06-05gnu: debootstrap: Workaround for PATH issues....* gnu/packages/debian (debootstrap): [arguments]: Substitute PATH to include $PATH. [description]: Remove obsolete workaround from description. Vagrant Cascadian
2019-06-01gnu: debootstrap: Update to 114....* gnu/packages/debian (debootstrap): Update to 114. Vagrant Cascadian
2019-06-01gnu: debian-archive-keyring: Update to 2019.01....* gnu/packages/debian (debian-archive-keyring): Update to 2019.01. Vagrant Cascadian
2018-12-01gnu: debootstrap: Update to 1.0.111....* gnu/packages/debian.scm (debootstrap): Update to 1.0.111. Efraim Flashner
2018-12-01gnu: debootstrap: Update build....* gnu/packages/debian.scm (debootstrap)[arguments]: Update the substitutes during the custom 'patch-source phase. Add custom 'wrap-executable phase. [inputs]: Remove coreutils, wget. Add tzdata. [propagated-inputs]: Remove binutils, gnupg. Move perl ... [native-inputs]: ... to here. [description]: Add implementation hint. Efraim Flashner
2018-11-04gnu: debian-archive-keyring: Update to 2018.1....* gnu/packages/debian.scm (debian-archive-keyring): Update to 2018.1. [source]: Download from git repository. Efraim Flashner
2018-11-04gnu: debootstrap: Update to 1.0.109....* gnu/packages/debian.scm (debootstrap): Update to 1.0.109. Efraim Flashner