v5.0.0: 13.3.3 is too aggressive/vague

Aperta
#3,306 9 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@tghosth ci sta già lavorando.

Dal 23/11/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

V13 (prev V14)

V13.3 Secret Management (as of time of this issue):

# Description Level
13.3.1 Verify that a secrets management solution, such as a key vault, is used to securely create, store, control access to, and destroy backend secrets. These could include passwords, key material, integrations with databases and third-party systems, keys and seeds for time-based tokens, other internal secrets, and API keys. Secrets must not be included in application source code or included in build artifacts. For an L3 application, this must involve a hardware-backed solution such as an HSM. 2
13.3.3 Verify that all cryptographic operations are performed using an isolated security module (such as a vault or hardware security module) to securely manage and protect key material from exposure outside of the security module. 3

I've also mentioned 13.3.1 and bolded a sentence in it because it largely overlaps, and arguably even raises the requirement of 13.3.3 (from any secure vault to a hardware-backed one).

However, the main issue I have is that "all cryptographic operations" in 13.3.3 is way too aggressive when read as is.

A few examples:

  • Per-row data encryption would require an individual key entry for each record in a database, while KDF-based schemes working off a single base key are ruled out.
  • In a similar fashion, applications have to interact with the security module even for ephemereal operations with no stored secrets to protect, or to add signatures to log entries. This doesn't scale well.
  • The application design may require algorithms not supported by the available security module (or any on the market, for more novel purposes like with PQC).
  • Price scheming in cloud environments can also make this cost-prohibitive.

Side issure really, but it's also not explicitly clear whether this applies to all secrets (which can be interpreted in very imaginative ways) or just runtime configuration (the primary concern).

I tracked this back to #2952, which didn't really give me more clarity, but its spin-off #2971 originally talked explicitly about "very important secrets" depending on a threat model - that doesn't refer directly to 13.3.3, but there is implied recognition that some secrets are high value and others not so much, making 13.3.3 even more aggressive with that in mind. A lot of things are functionally cryptographic operations but not of proportionally high risk.

Lingua principale
HTML
Stelle
3.9k
Fork
865
Merge medio
3g 4h
PR unite (30g)
19

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OWASP/ASVS

Tutte le issue di OWASP/ASVS

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.