Internet-Draft JOSE: Deprecate 'none' and 'RSA1_5' November 2026
Madden Expires 5 May 2027 [Page]
Workgroup:
Javascript Object Signing and Encryption
Internet-Draft:
draft-ietf-jose-deprecate-none-rsa15-08
Updates:
7518, 7519 (if approved)
Published:
Intended Status:
Standards Track
Expires:
Author:
N. Madden
Hazelcast

JOSE: Deprecate 'none' and 'RSA1_5'

Abstract

This document updates RFC 7518 (JSON Web Algorithms (JWA)) to deprecate the JSON Web Signature (JWS) algorithm "none" and the JSON Web Encryption (JWE) algorithm "RSA1_5". These algorithms have known security weaknesses. It updates RFC 7519 (JSON Web Token (JWT)) so that these two algorithms are no longer mandatory to implement. It also updates the review instructions for Designated Experts to establish baseline security requirements that future algorithm registrations are expected to meet.

About This Document

This note is to be removed before publishing as an RFC.

The latest revision of this draft can be found at https://NeilMadden.github.io/jose-deprecate-none-rsa1_5/draft-ietf-jose-deprecate-none-rsa15.html. Status information for this document may be found at https://datatracker.ietf.org/doc/draft-ietf-jose-deprecate-none-rsa15/.

Discussion of this document takes place on the Javascript Object Signing and Encryption Working Group mailing list (mailto:jose@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/jose/. Subscribe at https://www.ietf.org/mailman/listinfo/jose/.

Source for this draft and an issue tracker can be found at https://github.com/NeilMadden/jose-deprecate-none-rsa1_5.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 5 May 2027.

▲

Table of Contents

1. Introduction

JSON Web Algorithms (JWA) [RFC7518] introduced several standard algorithms for both JSON Web Signature (JWS) and JSON Web Encryption (JWE). Many of these algorithms have stood the test of time and are still in widespread use. However, some algorithms have proved to be difficult to implement correctly leading to exploitable vulnerabilities. This document deprecates two such algorithms:

RSA signatures using PKCS#1 version 1.5 padding ("RS256", "RS384", and "RS512") are unchanged by this specification and can still be used.

This document updates [RFC7518]: it changes the implementation requirements of two algorithms (Section 8.1) and adds to the review instructions for the JOSE Designated Experts (Section 8.2). It updates the review instructions (Section 7 of [RFC7518]), to establish baseline security requirements for future JOSE algorithm registrations. Only algorithms that are reasonably assessed to satisfy these requirements are expected to be registered in the future. It also updates the implementations requirements of [RFC7519] to no longer require either algorithm (Section 6).

2. Conventions and Definitions

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

This document uses terms defined in Section 2 of [RFC7515].

3. The 'none' algorithm

The "none" algorithm creates an Unsecured JWS, whose contents are completely unsecured as the name implies. Despite strong guidance in Section 3.6 of [RFC7518] to not accepting Unsecured JWS by default, many implementations have had serious bugs due to accepting this algorithm. In some cases, this has led to a complete loss of security as authenticity and integrity checking can be disabled by an adversary simply by changing the algorithm ("alg") header in the JWS. For example, [howmanydays] tracks public vulnerabilities due to implementations mistakenly accepting the "none" algorithm. As of October 2026 it lists 19 reports, many of which have high or critical impact ratings.

Although there are some historical uses for Unsecured JWS that are not security vulnerabilities, these are relatively few and can easily be satisfied by alternative means. For example, two of these are in OpenID Connect [OpenID.Core]: (1) securing unsigned ID Tokens (as allowed in Section 2) via transmission over TLS in Section 3.1.3.7 and (2) the use of unsigned request objects in Section 6.1. The small risk of breaking some of these uses is far outweighed by the improvement in security for the majority of JWS users who may be impacted by accidental acceptance of the "none" algorithm.

4. The 'RSA1_5' algorithm

The "RSA1_5" algorithm implements RSA encryption using PKCS#1 version 1.5 padding (Section 7.2 of [RFC8017]). This padding mode has long been known to have security issues, since at least Bleichenbacher's attack ([RFC3218]) in 1998. It was supported in JWE due to the wide deployment of this algorithm, especially in legacy hardware. However, more secure replacements such as OAEP [RFC8017] or elliptic curve encryption algorithms are widely available since then. US National Institute of Standards and Technology (NIST) has disallowed the use of this encryption mode for federal use since the end of 2023 [NIST.SP800-131Ar2] and a CFRG document [I-D.irtf-cfrg-rsa-guidance] also deprecates this encryption mode for new protocols and deployments. This document therefore also deprecates this algorithm for JWE.

5. Guidance on Deprecation

Both of the algorithms listed above are deprecated for use in JOSE: the "none" algorithm for JWS, and "RSA1_5" for JWE. JOSE library developers should deprecate support for these algorithms and should not enable them by default. Application developers must disable support for these algorithms by default. Consistent with the existing requirement in Section 3.6 of [RFC7518] that implementations "MUST NOT accept Unsecured JWSs by default", an application that has a specific need for one of these algorithms may enable it, but only for the specific objects or operations that require it and not at a global level. New specifications building on top of JOSE, including revisions of existing specifications, must not allow the use of either algorithm, including for the uses of "none" described in Section 3.2 of [I-D.ietf-oauth-rfc8725bis].

The IANA algorithm registry distinguishes between algorithms that are "Deprecated" and those that are "Prohibited" (Section 4.4 of [RFC9864]). The algorithms identified in this document are to be marked as Deprecated only; the requirements in this section apply in addition to that definition. Existing specifications and applications that make use of these algorithms can continue to do so, but are encouraged to adopt alternatives in future updates.

6. Updated Implementation Requirements for JSON Web Token

Section 8 of [RFC7519] (JWT) says that '"none" MUST be implemented by conforming JWT implementations', and that "RSA1_5" must be implemented by JWT implementations providing encryption capabilities. This document updates [RFC7519] to remove both requirements: "none" and "RSA1_5" are no longer mandatory to implement for conforming JWT implementations. JWT implementors should deprecate support for both algorithms as described in Section 3.2 of [I-D.ietf-oauth-rfc8725bis].

7. Security Considerations

This entire document is concerned with security, since the security of JOSE implementations directly affects the security of systems that include them (see for example the referenced vulnerabilities in Section 3).

Both algorithms remain registered, and Section 5 permits an application to enable either of them for specific objects or operations. Wherever they are enabled, the exposures described in Section 3 and Section 4 remain; see Sections 8.3 and 8.5 of [RFC7518] and Sections 11.4 and 11.5 of [RFC7516] for existing considerations and mitigations.

8. IANA Considerations

8.1. JOSE Algorithm Deprecations

The following changes are to be made to the IANA "JSON Web Signature and Encryption Algorithms" registry under "JSON Object Signing and Encryption (JOSE)" registry group [IANA.jose]:

  • For the entry with Algorithm Name "none", update the JOSE Implementation Requirements to "Deprecated".

  • For the entry with Algorithm Name "RSA1_5", update the JOSE Implementation Requirements to "Deprecated". Add [I-D.irtf-cfrg-rsa-guidance] to the Algorithm Analysis Document(s) column.

  • For both entries, update the Reference column to also list this document.

8.2. Updated Review Instructions for Designated Experts

The review instructions for the Designated Experts (DEs) for the IANA "JSON Web Signature and Encryption Algorithms" registry [IANA.jose] in Section 7.1 of [RFC7518] are updated to add the following review criteria. As with the existing criteria in Section 7.1 of [RFC7518], these criteria do not apply to algorithms being registered as Deprecated or Prohibited. These criteria do not apply to changes in the implementation requirements of existing algorithm registrations, only to new registrations. These criteria are in addition to the one added to the same instructions by Section 4.3.1 of [RFC9864].

The following bullet points are added to the instructions for DEs, after the third paragraph of Section 7.1 of [RFC7518]:

  • For JWS signature and MAC algorithms (the "alg" parameter values used with JWS), only algorithms that are reasonably considered to meet the standard security goal of existential unforgeability under a chosen message attack (EUF-CMA) are to be considered for approval. See textbooks such as Section 13.1.1 of [BonehShoup] for a definition of existential unforgeability.

  • For JWE key management algorithms (the "alg" parameter values used with JWE), only algorithms for which the resulting JWE encryption process as a whole is reasonably considered to meet the standard security goal of indistinguishability under an adaptive chosen ciphertext attack (IND-CCA2) are to be considered for approval. This goal applies to the entire JWE encryption process and not to the key management algorithm in isolation. See textbooks such as Section 9.2.2 and Chapter 12 of [BonehShoup].

  • For JWE content encryption methods (the "enc" parameter values used with JWE), only algorithms that are reasonably believed to meet the standard security goal of authenticated encryption with associated data (AEAD) are to be considered for approval. See [RFC5116], and textbooks such as Section 9.5 of [BonehShoup], for the definition of AEAD security.

8.3. Additional Reference for JOSE Registry Group

This document requests IANA to add this document as an additional reference to the "JSON Web Signature and Encryption Algorithms" registry under "JSON Object Signing and Encryption (JOSE)" registry group.

9. References

9.1. Normative References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/rfc/rfc2119>.
[RFC5116]
McGrew, D., "An Interface and Algorithms for Authenticated Encryption", RFC 5116, DOI 10.17487/RFC5116, , <https://www.rfc-editor.org/rfc/rfc5116>.
[RFC7515]
Jones, M., Bradley, J., and N. Sakimura, "JSON Web Signature (JWS)", RFC 7515, DOI 10.17487/RFC7515, , <https://www.rfc-editor.org/rfc/rfc7515>.
[RFC7518]
Jones, M., "JSON Web Algorithms (JWA)", RFC 7518, DOI 10.17487/RFC7518, , <https://www.rfc-editor.org/rfc/rfc7518>.
[RFC7519]
Jones, M., Bradley, J., and N. Sakimura, "JSON Web Token (JWT)", RFC 7519, DOI 10.17487/RFC7519, , <https://www.rfc-editor.org/rfc/rfc7519>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/rfc/rfc8174>.
[RFC9864]
Jones, M.B. and O. Steele, "Fully-Specified Algorithms for JSON Object Signing and Encryption (JOSE) and CBOR Object Signing and Encryption (COSE)", RFC 9864, DOI 10.17487/RFC9864, , <https://www.rfc-editor.org/rfc/rfc9864>.

9.2. Informative References

[BonehShoup]
Boneh, D. and V. Shoup, "A Graduate Course in Applied Cryptography (v0.6)", , <https://crypto.stanford.edu/~dabo/cryptobook/BonehShoup_0_6.pdf>.
[howmanydays]
Sanderson, J., "How Many Days Has It Been Since a JWT alg:none Vulnerability?", , <https://github.com/zofrex/howmanydayssinceajwtalgnonevuln/blob/deploy/data/vulns.yml>.
[I-D.ietf-oauth-rfc8725bis]
Sheffer, Y., Hardt, D., and M. B. Jones, "JSON Web Token Best Current Practices", Work in Progress, Internet-Draft, draft-ietf-oauth-rfc8725bis-10, , <https://datatracker.ietf.org/doc/html/draft-ietf-oauth-rfc8725bis-10>.
[I-D.irtf-cfrg-rsa-guidance]
Kario, A., "Implementation Guidance for the PKCS #1 RSA Cryptography Specification", Work in Progress, Internet-Draft, draft-irtf-cfrg-rsa-guidance-10, , <https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-rsa-guidance-10>.
[IANA.jose]
IANA, "JSON Object Signing and Encryption (JOSE)", <https://www.iana.org/assignments/jose>.
[NIST.SP800-131Ar2]
Barker, E. and A. Roginsky, "Transitioning the use of cryptographic algorithms and key lengths", National Institute of Standards and Technology, DOI 10.6028/nist.sp.800-131ar2, , <https://doi.org/10.6028/nist.sp.800-131ar2>.
[OpenID.Core]
Sakimura, N., Bradley, J., Jones, M., de Medeiros, B., and C. Mortimore, "OpenID Connect Core 1.0 incorporating errata set 2", , <https://openid.net/specs/openid-connect-core-1_0.html>.
[RFC3218]
Rescorla, E., "Preventing the Million Message Attack on Cryptographic Message Syntax", RFC 3218, DOI 10.17487/RFC3218, , <https://www.rfc-editor.org/rfc/rfc3218>.
[RFC7516]
Jones, M. and J. Hildebrand, "JSON Web Encryption (JWE)", RFC 7516, DOI 10.17487/RFC7516, , <https://www.rfc-editor.org/rfc/rfc7516>.
[RFC8017]
Moriarty, K., Ed., Kaliski, B., Jonsson, J., and A. Rusch, "PKCS #1: RSA Cryptography Specifications Version 2.2", RFC 8017, DOI 10.17487/RFC8017, , <https://www.rfc-editor.org/rfc/rfc8017>.

Appendix A. Acknowledgments

The author would like to thank the following people for feedback and useful suggestions: Mike Ounsworth, Michael B. Jones, Yaron Sheffer, Brian Campbell, Aaron Parecki, Filip Skokan, Tim Bray, John Mattsson, Deb Cooley, Karen O'Donoghue, and Barry Leiba.

Author's Address

Neil Madden
Hazelcast