mainGnuTLS - Support: sr #108610, dane_verify_crt_raw() does not...

 
 

sr #108610: dane_verify_crt_raw() does not check chain_size

Submitter:  None
Submitted:  Sun 06 Jul 2014 07:26:59 PM UTC
   
 
Category:  Extra library Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 06 Jul 2014 09:02:22 PM UTC, comment #1: 

I've committed a check in the repository. Thank you for reporting that.

Nikos Mavrogiannopoulos <nmav>
Group administrator
Sun 06 Jul 2014 07:26:59 PM UTC, original submission:  

dane_verify_crt_raw() does not check chain_size before dereferencing chain[0] in a call to verify_ee().

chain_size could be 0 (it is only checked in dane_verify_session_crt()).

For consistency, dane_verify_crt() and dane_verify_crt_raw() should both return DANE_E_NO_CERT if chain_size is 0.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nmav (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-07-06 nmav StatusNone Done
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code