[gnutls-devel] GnuTLS | Gnutls incorrectly handles the CRL Number field (#1684)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Tue Mar 18 14:22:28 CET 2025



One happy person created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1684



## Description of problem:

       Hello Developer, I have a CRL file with a CRL number value of -36. According to RFC5280, the CRL number should be a non-negative integer, but Gnutls successfully printed this CRL without any errors. However, the value of the CRL Number is "dc", which is 220 in decimal.

## Version of gnutls used:
GnuTLS 3.8.9

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Ubuntu

## How reproducible:
certtool --crl-info --inder --infile crl_file_test_.der

## Actual results:
The Gnutls successfully printed this CRL, but the value of the CRL Number is "dc", which is 220 in decimal.

## Test Cases:

[crl_file_test_.der](/uploads/03fc0407a2cc0bdc45cfad091eed963f/crl_file_test_.der)

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1684
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20250318/4aede1c7/attachment.html>


More information about the Gnutls-devel mailing list