RFC Errata

Errata Search

Source of RFC  
Summary Table Full Records

RFC 8785, "JSON Canonicalization Scheme (JCS)", June 2020

See Also: RFC 8785 w/ inline errata

Errata ID: 7920
Status: Verified
Type: Technical
Publication Format(s) : TEXT, PDF, HTML

Reported By: Peter Patel-Schneider
Date Reported: 2024-05-02
Verifier Name: Eliot Lear
Date Verified: 2024-05-15

Section 5 says:

<end of section>

It should say:

Since -0 is a valid JSON Number but is serialized as 0, a JSON
parser following this specification SHOULD generate an error
condition (which in turn SHOULD stop processing) when it
encounters -0, in order to thwart potential attacks on not yet
parsed data. 


IEEE 754 includes as distinct values both positive and negative
zero. Section of ECMA-262 says: If m is +0 or -0, return
the String "0". This may lend itself to erroneous input to
supporting functions.

Report New Errata

Advanced Search