Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian....@packages.debian.org
Usertags: pu

This fixes the problem that was mentioned in #964435. I have
verified that with the new glib-networking, balsa fails to check
the certs, asking the user to accept/reject it (IMAP is not affected
but SMTP and POP are). With this patched version, it works again.

The new version also works with the old glib-networking, so there's no
bumped dependency here. A breaks could be added to glib-networking,
but let's discuss that on the other bug.

Thanks,
Emilio
diff -Nru balsa-2.5.6/debian/changelog balsa-2.5.6/debian/changelog
--- balsa-2.5.6/debian/changelog        2018-12-23 23:17:25.000000000 +0100
+++ balsa-2.5.6/debian/changelog        2020-07-11 09:22:22.000000000 +0200
@@ -1,3 +1,11 @@
+balsa (2.5.6-2+deb10u1) buster; urgency=medium
+
+  * Provide server identity when validating certificates (allows to verify
+    certs with a glib-networking patch for CVE-2020-13645).
+    Patch taken from Ubuntu. Closes: #961792.
+
+ -- Emilio Pozuelo Monfort <po...@debian.org>  Sat, 11 Jul 2020 09:22:22 +0200
+
 balsa (2.5.6-2) unstable; urgency=medium
 
   * Restore -Wl,-O1 to our LDFLAGS
diff -Nru balsa-2.5.6/debian/patches/CVE-2020-13645.patch 
balsa-2.5.6/debian/patches/CVE-2020-13645.patch
--- balsa-2.5.6/debian/patches/CVE-2020-13645.patch     1970-01-01 
01:00:00.000000000 +0100
+++ balsa-2.5.6/debian/patches/CVE-2020-13645.patch     2020-07-11 
09:20:22.000000000 +0200
@@ -0,0 +1,596 @@
+Backport of upstream patch
+From e8952e3ccb1bb5094a6f8920e7c274e2e7dae184 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Albrecht=20Dre=C3=9F?= <albrecht.dr...@arcor.de>
+Date: Sat, 18 Apr 2020 18:25:30 +0200
+Subject: [PATCH] fix NULL server-identity TLS warning with recent gio
+
+- libnetclient/net-client.c: use the remote host name as expected server
+  identity for TLS connections.  This fixes a strange warning when using
+  recent GIO versions (see issue #34)
+- libnetclient/test: replace the snakeoil test certificates as the old ones
+  are not accepted any more by GnuTLS for security reasons; fix unit tests;
+  add some more Valgrind suppressions for false-positives
+---
+ libnetclient/net-client.c       |  27 +++++--
+ libnetclient/test/ca_cert.pem   | 106 +++++++++++++++----------
+ libnetclient/test/cert.pem      | 134 ++++++++++++++++++++------------
+ libnetclient/test/cert_u.pem    | 130 ++++++++++++++++++++-----------
+ libnetclient/test/tests.c       |  28 +++----
+ libnetclient/test/valgrind.supp |  15 ++++
+ 6 files changed, 280 insertions(+), 160 deletions(-)
+
+--- a/libnetclient/net-client.c
++++ b/libnetclient/net-client.c
+@@ -25,6 +25,7 @@ struct _NetClientPrivate {
+       gsize max_line_len;
+ 
+       GSocketClient *sock;
++      GSocketConnectable *remote_address;
+       GSocketConnection *plain_conn;
+       GIOStream *tls_conn;
+       GDataInputStream *istream;
+@@ -115,13 +116,19 @@ net_client_connect(NetClient *client, GE
+       if (priv->plain_conn != NULL) {
+               g_set_error(error, NET_CLIENT_ERROR_QUARK, (gint) 
NET_CLIENT_ERROR_CONNECTED, _("network client is already connected"));
+       } else {
+-              priv->plain_conn = g_socket_client_connect_to_host(priv->sock, 
priv->host_and_port, priv->default_port, NULL, error);
+-              if (priv->plain_conn != NULL) {
+-                      g_debug("connected to %s", priv->host_and_port);
+-                      priv->istream = 
g_data_input_stream_new(g_io_stream_get_input_stream(G_IO_STREAM(priv->plain_conn)));
+-                      g_data_input_stream_set_newline_type(priv->istream, 
G_DATA_STREAM_NEWLINE_TYPE_CR_LF);
+-                      priv->ostream = 
g_io_stream_get_output_stream(G_IO_STREAM(priv->plain_conn));
+-                      result = TRUE;
++              priv->remote_address = 
g_network_address_parse(priv->host_and_port, priv->default_port, error);
++              if (priv->remote_address != NULL) {
++                      priv->plain_conn = g_socket_client_connect(priv->sock, 
priv->remote_address, NULL, error);
++                      if (priv->plain_conn != NULL) {
++                              g_debug("connected to %s", priv->host_and_port);
++                              priv->istream = 
g_data_input_stream_new(g_io_stream_get_input_stream(G_IO_STREAM(priv->plain_conn)));
++                              
g_data_input_stream_set_newline_type(priv->istream, 
G_DATA_STREAM_NEWLINE_TYPE_CR_LF);
++                              priv->ostream = 
g_io_stream_get_output_stream(G_IO_STREAM(priv->plain_conn));
++                              result = TRUE;
++                      } else {
++                              g_object_unref(priv->remote_address);
++                              priv->remote_address = NULL;
++                      }
+               }
+       }
+ 
+@@ -146,6 +153,10 @@ net_client_shutdown(const NetClient *cli
+                       g_object_unref(G_OBJECT(client->priv->plain_conn));
+                       client->priv->plain_conn = NULL;
+               }
++              if (client->priv->remote_address != NULL) {
++                      g_object_unref(client->priv->remote_address);
++                      client->priv->remote_address = NULL;
++              }
+       }
+ }
+ 
+@@ -450,7 +461,7 @@ net_client_start_tls(NetClient *client,
+       } else if (client->priv->tls_conn != NULL) {
+               g_set_error(error, NET_CLIENT_ERROR_QUARK, (gint) 
NET_CLIENT_ERROR_TLS_ACTIVE, _("connection is already encrypted"));
+       } else {
+-              client->priv->tls_conn = 
g_tls_client_connection_new(G_IO_STREAM(client->priv->plain_conn), NULL, error);
++              client->priv->tls_conn = 
g_tls_client_connection_new(G_IO_STREAM(client->priv->plain_conn), 
client->priv->remote_address, error);
+               if (client->priv->tls_conn != NULL) {
+                       if (client->priv->certificate != NULL) {
+                               
g_tls_connection_set_certificate(G_TLS_CONNECTION(client->priv->tls_conn), 
client->priv->certificate);
+--- a/libnetclient/test/ca_cert.pem
++++ b/libnetclient/test/ca_cert.pem
+@@ -1,46 +1,68 @@
+ -----BEGIN CERTIFICATE-----
+-MIIDxjCCAq6gAwIBAgIBATANBgkqhkiG9w0BAQUFADB0MRMwEQYKCZImiZPyLGQB
+-GRYDb3JnMRYwFAYKCZImiZPyLGQBGRYGc2ltcGxlMRMwEQYDVQQKDApTaW1wbGUg
+-SW5jMRcwFQYDVQQLDA5TaW1wbGUgUm9vdCBDQTEXMBUGA1UEAwwOU2ltcGxlIFJv
+-b3QgQ0EwHhcNMTYwNTI0MTYxNjU4WhcNMjYwNTI0MTYxNjU4WjB0MRMwEQYKCZIm
+-iZPyLGQBGRYDb3JnMRY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486F0CP9zQ91XpSmt5gC4BrqJoNxbvDJ32cJ8mrEKcjr
++PK2yCVsvzBlm5j6UEMsHirS5Uj0o3v/th8kOawytNCICX0UFrs6pIb4/P7JhOFi1
+++WeLKTlauQaJDhMWT0JSPVt38TybhFjfkZKh7wEDqEdQNlccaWKnml0bvNff6hPL
++wduu/4nH3sMBsLVBa9a0a0bGdw==
+ -----END CERTIFICATE-----
+--- a/libnetclient/test/tests.c
++++ b/libnetclient/test/tests.c
+@@ -222,7 +222,7 @@ test_basic_crypt(void)
+       g_clear_error(&error);
+       sput_fail_unless(net_client_set_cert_from_file(basic, "cert_u.pem", 
NULL) == TRUE, "load cert file w/ plain key ok");
+       sput_fail_unless(net_client_connect(basic, NULL) == TRUE, "connect ok");
+-      sput_fail_unless(net_client_start_tls(basic, NULL) == TRUE, "start tls: 
ok");
++      sput_fail_unless(net_client_start_tls(basic, &error) == TRUE, "start 
tls: ok");
+       sput_fail_unless(net_client_is_encrypted(basic) == TRUE, "encrypted");
+       g_object_unref(basic);
+ 
+@@ -350,15 +350,15 @@ test_smtp(void)
+       sput_fail_unless(net_client_smtp_can_dsn(NULL) == FALSE, "NULL client: 
no dsn");
+       sput_fail_unless(net_client_smtp_can_dsn(smtp) == TRUE, "inetsim: can 
dsn");
+ 
+-      sput_fail_unless(net_client_smtp_send_msg(NULL, msg, NULL) == FALSE, 
"send msg, NULL client");
+-      sput_fail_unless(net_client_smtp_send_msg(smtp, NULL, NULL) == FALSE, 
"send msg, NULL message");
+-      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL) == FALSE, 
"send msg: error, no sender");
++      sput_fail_unless(net_client_smtp_send_msg(NULL, msg, NULL, NULL) == 
FALSE, "send msg, NULL client");
++      sput_fail_unless(net_client_smtp_send_msg(smtp, NULL, NULL, NULL) == 
FALSE, "send msg, NULL message");
++      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL, NULL) == 
FALSE, "send msg: error, no sender");
+       sput_fail_unless(net_client_smtp_msg_set_sender(msg, "s...@sender.com") 
== TRUE, "set sender ok");
+       sput_fail_unless(net_client_smtp_msg_set_sender(msg, "m...@here.com") 
== TRUE, "replace sender ok");
+-      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL) == FALSE, 
"send msg: error, no recipient");
++      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL, NULL) == 
FALSE, "send msg: error, no recipient");
+       sput_fail_unless(net_client_smtp_msg_add_recipient(msg, 
"y...@there.com", NET_CLIENT_SMTP_DSN_NEVER)  == TRUE,
+               "add recipient ok (no dsn)");
+-      op_res = net_client_smtp_send_msg(smtp, msg, &error);
++      op_res = net_client_smtp_send_msg(smtp, msg, NULL, &error);
+       sput_fail_unless((op_res == FALSE) && (error->code == 
NET_CLIENT_ERROR_SMTP_PERMANENT), "send failed: not authenticated");
+       g_clear_error(&error);
+       g_object_unref(smtp);
+@@ -391,7 +391,7 @@ test_smtp(void)
+       g_signal_connect(G_OBJECT(smtp), "auth", G_CALLBACK(get_auth), smtp);
+       sput_fail_unless(net_client_smtp_connect(smtp, NULL, NULL) == TRUE, 
"connect: success");
+       msg_buf.sim_error = TRUE;
+-      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL) == FALSE, 
"send msg: error in callback");
++      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL, NULL) == 
FALSE, "send msg: error in callback");
+       msg_buf.sim_error = FALSE;
+       g_object_unref(smtp);
+ 
+@@ -401,7 +401,7 @@ test_smtp(void)
+       sput_fail_unless(net_client_smtp_allow_auth(smtp, FALSE, 
NET_CLIENT_SMTP_AUTH_PLAIN) == TRUE, "force auth meth PLAIN");
+       g_signal_connect(G_OBJECT(smtp), "auth", G_CALLBACK(get_auth), smtp);
+       sput_fail_unless(net_client_smtp_connect(smtp, NULL, NULL) == TRUE, 
"connect: success");
+-      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL) == TRUE, 
"send msg: success");
++      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL, NULL) == 
TRUE, "send msg: success");
+       g_object_unref(smtp);
+ 
+       // STARTTLS required, LOGIN auth
+@@ -413,7 +413,7 @@ test_smtp(void)
+       g_signal_connect(G_OBJECT(smtp), "cert-check", G_CALLBACK(check_cert), 
NULL);
+       g_signal_connect(G_OBJECT(smtp), "auth", G_CALLBACK(get_auth), smtp);
+       sput_fail_unless(net_client_smtp_connect(smtp, NULL, NULL) == TRUE, 
"connect: success");
+-      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL) == TRUE, 
"send msg: success");
++      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL, NULL) == 
TRUE, "send msg: success");
+       g_object_unref(smtp);
+ 
+       // STARTTLS optional, CRAM-MD5 auth
+@@ -426,7 +426,7 @@ test_smtp(void)
+       g_signal_connect(G_OBJECT(smtp), "auth", G_CALLBACK(get_auth), smtp);
+       sput_fail_unless(net_client_smtp_connect(smtp, NULL, NULL) == TRUE, 
"connect: success");
+       sput_fail_unless(net_client_smtp_msg_set_dsn_opts(msg, 
"20170113212711.19...@here.com", FALSE) == TRUE, "dsn: envid, headers");
+-      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL) == TRUE, 
"send msg: success");
++      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL, NULL) == 
TRUE, "send msg: success");
+       g_object_unref(smtp);
+ 
+       // STARTTLS, CRAM-SHA1 auth
+@@ -438,7 +438,7 @@ test_smtp(void)
+       g_signal_connect(G_OBJECT(smtp), "auth", G_CALLBACK(get_auth), smtp);
+       sput_fail_unless(net_client_smtp_connect(smtp, NULL, NULL) == TRUE, 
"connect: success");
+       sput_fail_unless(net_client_smtp_msg_set_dsn_opts(msg, NULL, TRUE) == 
TRUE, "dsn: no envid, message");
+-      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL) == TRUE, 
"send msg: success");
++      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL, NULL) == 
TRUE, "send msg: success");
+       g_object_unref(smtp);
+ 
+       // STARTTLS, auto select auth
+@@ -450,7 +450,7 @@ test_smtp(void)
+       sput_fail_unless(net_client_smtp_connect(smtp, NULL, NULL) == TRUE, 
"connect: success");
+       sput_fail_unless(net_client_smtp_msg_set_dsn_opts(msg, 
"20170113212711.19...@here.com", TRUE) == TRUE,
+               "dsn: envid, message");
+-      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL) == TRUE, 
"send msg: success");
++      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL, NULL) == 
TRUE, "send msg: success");
+       g_object_unref(smtp);
+ 
+       // SSL, auto select auth
+@@ -462,7 +462,7 @@ test_smtp(void)
+       sput_fail_unless(net_client_smtp_connect(smtp, NULL, NULL) == TRUE, 
"connect: success");
+       sput_fail_unless(net_client_smtp_msg_set_dsn_opts(msg, 
"20170113212711.19...@here.com", TRUE) == TRUE,
+               "dsn: envid, message");
+-      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL) == TRUE, 
"send msg: success");
++      sput_fail_unless(net_client_smtp_send_msg(smtp, msg, NULL, NULL) == 
TRUE, "send msg: success");
+       g_object_unref(smtp);
+ 
+       net_client_smtp_msg_free(NULL);
+@@ -679,7 +679,7 @@ test_pop3(void)
+       g_message("message count: %u", g_list_length(msg_list));
+       if (msg_list != NULL) {
+               sput_fail_unless(net_client_pop_retr(pop, msg_list, msg_cb, 
NULL, NULL) == TRUE, "retr ok");
+-              sput_fail_unless(net_client_pop_dele(pop, NULL,NULL) == FALSE, 
"dele w/o message list");
++              sput_fail_unless(net_client_pop_dele(pop, NULL, NULL) == FALSE, 
"dele w/o message list");
+               sput_fail_unless(net_client_pop_dele(pop, msg_list, NULL) == 
TRUE, "dele ok");
+               g_list_free_full(msg_list, (GDestroyNotify) 
net_client_pop_msg_info_free);
+       }
+--- a/libnetclient/test/valgrind.supp
++++ b/libnetclient/test/valgrind.supp
+@@ -15,3 +15,18 @@
+    fun:g_type_register_static
+ }
+ 
++{
++   dl_init
++   Memcheck:Leak
++   match-leak-kinds:all
++   ...
++   fun:_dl_init
++}
++
++{
++   g_type_class_ref
++   Memcheck:Leak
++   match-leak-kinds:all
++   ...
++   fun:g_type_class_ref
++}
+--- a/libnetclient/test/cert.pem
++++ b/libnetclient/test/cert.pem
+@@ -1,53 +1,89 @@
+ -----BEGIN CERTIFICATE-----
+-MIID6TCCAtGgAwIBAgIBATANBgkqhkiG9w0BAQUFADB6MRMwEQYKCZImiZPyLGQB
+-GRYDb3JnMRYwFAYKCZImiZPyLGQBGRYGc2ltcGxlMRMwEQYDVQQKDApTaW1wbGUg
+-SW5jMRowGAYDVQQLDBFTaW1wbGUgU2lnbmluZyBDQTEaMBgGA1UEAwwRU2ltcGxl
+-IFNpZ25pbmcgQ0EwHhcNMTYwNTI0MTYyOTE0WhcNMTgwNTI0MTYyOTE0WjBbMRMw
+-EQYKCZImiZPyLGQBGRYDb3JnMRYwFAYKCZImiZPyLGQBGRYGc2ltcGxlMRMwEQYD
+-VQQKDApTaW1wbGUgSW5jMRcwFQYDVQQDDA53d3cuc2ltcGxlLm9yZzCCASIwDQYJ
+-KoZIhvcNAQEBBQADggEPADCCAQoCggEBALrxG+kSRCK8qlBNYvEQIEKGe75SC4GB
+-s46Sr3lUgpX6S8ynAHGh6Zs4lTVQIul3bFbJVD0pmDD2aDncaUhvdXjGk59To1Ol
+-rg1Tx8ZudV8EzE4oU5W/mx4Xw0/F6PAcXvD5cFeA2nEMfY8iryyl+1ZwY8yc/OzV
+-cN+LovnUWX2UTGAbQ0+F9u/fPfxl+WmdcwsbR8UHAXmYuyoOz8gy65ffKC4kmJvm
+-hgER0TMZd0dKvLQaK5aAdYF9w2ViU0tbd56MjZq18Bq80QZZYMaS/7FAg1LcYEoV
+-g3cCD4HoLmkRY3wgWJYPxHUN9NOGhrM3bfXHUwaGAWD68DvZAzJL+OcCAwEAAaOB
+-mDCBlTAOBgNVHQ8BAf8EBAMCBaAwCQYDVR0TBAIwADAdBgNVHSUEFjAUBggrBgEF
+-BQcDA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3PCkxdahh5Pjc1RMINfToO0J
++9AzFNBav9n+1tmQFhUWmROFRNtQdA2qigsIeYgWAVCcOU8iaHqinpxejiWOGPf6E
++Bu1NAoIBABTv/aN5PCq6wo+qvCo3Uue/aDQzvBAFPWrOvFB/QWD7xilNC1IEz9XI
++xjCo1fqWkgQI705QZdHBfQjMaI0pfUccG9oylJUgCz7RyQzDpeXHnYSocABM1ml+
++xzaCFIr2yrZekriMp2WvK4q+bbF2gF6zD1p0IEexrOi0b2gRDh7wXRaTM0/JEYwG
++teMN05O0kwyOphLpQqUoJAwlxiNWuwvlTl6FYYNBMS5jlEz5y5hB86uuffUe1Y4H
++tnRWi8Q2dHD8zNDsTsy4+BYxRA3IE6997hofdPGVZ2UHdaIIPa3ckNpKXVmh5lSB
++BrXwsXY2ZPcP/iq/zC2yMQqnTkK748U=
+ -----END PRIVATE KEY-----
diff -Nru balsa-2.5.6/debian/patches/series balsa-2.5.6/debian/patches/series
--- balsa-2.5.6/debian/patches/series   2018-12-23 23:17:25.000000000 +0100
+++ balsa-2.5.6/debian/patches/series   2020-07-11 09:20:22.000000000 +0200
@@ -0,0 +1 @@
+CVE-2020-13645.patch

Reply via email to