git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Certificate validation vulnerability in Git
@ 2013-02-24 17:31 Zubin Mithra
  2013-02-24 18:46 ` Andreas Ericsson
  2013-02-25  3:16 ` Jeff King
  0 siblings, 2 replies; 7+ messages in thread
From: Zubin Mithra @ 2013-02-24 17:31 UTC (permalink / raw)
  To: git; +Cc: Dhanesh K.

Hello,

There seems to be a security issue in the way git uses openssl for
certificate validation. Similar occurrences have been found and
documented in other open source projects, the research can be found at
[1].

-=========]
- imap-send.c

Line 307

 307   ret = SSL_connect(sock->ssl);
 308   if (ret <= 0) {
 309     socket_perror("SSL_connect", sock, ret);
 310     return -1;
 311   }
 312

Certificate validation errors are signaled either through return
values of SSL_connect or by setting internal flags. The internal flags
need to be checked using the SSL_get_verify_result function. This is
not performed.

Kindly fix these issues, file a CVE and credit it to Dhanesh K. and
Zubin Mithra. Thanks.

We are not subscribed to this list, so we'd appreciate it if you could
CC us in the replies.

Hope this helps.

Thanks!
Zubin

[1] http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-02-25 15:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-24 17:31 Certificate validation vulnerability in Git Zubin Mithra
2013-02-24 18:46 ` Andreas Ericsson
2013-02-25  2:28   ` Zubin Mithra
2013-02-25  3:18   ` Jeff King
2013-02-25  5:35     ` Junio C Hamano
2013-02-25  3:16 ` Jeff King
2013-02-25 15:42   ` Zubin Mithra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).