Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MASWE-0023] Weak Padding #2587

Open
4 tasks
cpholguera opened this issue Mar 1, 2024 · 0 comments · May be fixed by #2922
Open
4 tasks

[MASWE-0023] Weak Padding #2587

cpholguera opened this issue Mar 1, 2024 · 0 comments · May be fixed by #2922

Comments

@cpholguera
Copy link
Collaborator

Description

Create a new risk for "Weak Padding (MASVS-CRYPTO-1)" using the following information:

The use of weak padding such as NoPadding, ZeroPadding, etc. in a security sensitive context should be avoided to ensure the integrity and authenticity of the data.

Create "risks/MASVS-CRYPTO/1-***-****/weak-padding/risk.md" including the following content:

---
title: Weak Padding
alias: weak-padding
platform: [android, ios]
profiles: [L1, L2]
mappings:
  masvs-v1: [MSTG-CRYPTO-4]
  masvs-v2: [MASVS-CRYPTO-1]
  mastg-v1: [MASTG-TEST-0014]

---

## Overview

## Impact

## Modes of Introduction

## Mitigations

To complete the sections follow the guidelines from Writing MASTG Risks & Tests

Use at least the following references:

When creating the corresponding tests, use the following areas to guide you:

  • NoPadding
  • PKCS1-v1_5

MASTG v1 Refactoring:

If the risk has a MASVS v1 ID, you can use it to search for related tests in the MASTG and use them as input to define your risks and associated tests.

Acceptance Criteria

  • The risk has been created in the correct directory (risks/MASVS-CRYPTO/1-***-****/weak-padding/risk.md)
  • The risk content follows the guidelines
  • At least one GitHub Issue has been created for the corresponding tests (derived from "Modes of Introduction")
  • The risk indicates the related MASTG v1 tests in its metadata.
@cpholguera cpholguera changed the title New Risk - Weak Padding [weak-padding] [MASWE-0023] Weak Padding Jul 8, 2024
@jmariasantosdekra jmariasantosdekra linked a pull request Oct 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants