News for hackers. Stuff that matters.
Re:Git: Newline injection in credential helper protocol by lioeters on Thursday April 16, 2020 @10:05AM (#22889481)
Here's a note about it in the Git mirror repo:

Malicious URLs may cause Git to present stored credentials to the wrong server - https://github.com/git/git/security/advisories/GHSA-qm7j-c96...

..And the commit that fixed it:

https://github.com/git/git/commit/9a6bbee8006c24b46a85d29e7b...

Re:Git: Newline injection in credential helper protocol by floatingatoll on Thursday April 16, 2020 @10:12AM (#22889537)
Previously on HN (2 comments, yesterday): https://news.ycombinator.com/item?id=22876108
Re:Git: Newline injection in credential helper protocol by asdfqwerty18 on Thursday April 16, 2020 @10:19AM (#22889603)
thanks
Re:Git: Newline injection in credential helper protocol by kyrra on Thursday April 16, 2020 @10:13AM (#22889550)
I wonder how this fix behaves with '\r' on all platforms. Obviously the primary systems (windows/osx/linux/bsd) all use \n or \r\n, but I'm wondering if Git has been ported to more obscure systems that only use \r [0], and how this fix would behave there.

[0] https://en.wikipedia.org/wiki/Newline#Representation

Re:Git: Newline injection in credential helper protocol by peff on Thursday April 16, 2020 @11:50AM (#22890616)
That was discussed before the fix, but it doesn't matter. The helper protocol specifies a raw newline as the delimiter, and both sides of the conversation parse on that.