Skip to contentSkip to conversation

Potential vulnerability: 'mixed up' output when commit has multiple signatures

DISCUSSION Jonathan Nieder 2 participants 2 messages Aug 15, 2018 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 4 lines · Jonathan Nieder

Hi,

Michał Górny wrote:

Quoted 8 lines
Quoted 3 lines

I've been testing the git signature verification a bit and I've discovered a troubling behavior when the commit object contains multiple signatures.

Thanks for discovering this. Do you mind if I take this conversation to the public mailing list? (I'd bounce the existing thread there if that's okay with you.)

I've already asked somewhere else in the thread if you consider this suitable for disclosure, and haven't received a reply yet. In any case, I don't mind it. I can resend my patch there if necessary too.

Signature · 2 lines
Best regards,
Michał Górny
#3 lore raw
Quoted 7 lines · Michał Górny
Quoted 6 lines · Jonathan Nieder
Quoted 3 lines · Michał Górny

I've been testing the git signature verification a bit and I've discovered a troubling behavior when the commit object contains multiple signatures.

Quoted 7 lines
Quoted 3 lines

Thanks for discovering this. Do you mind if I take this conversation to the public mailing list? (I'd bounce the existing thread there if that's okay with you.)

I've already asked somewhere else in the thread if you consider this suitable for disclosure, and haven't received a reply yet. In any case, I don't mind it.

Thanks, doing so.

Thanks again for the analysis and fix as well.