Skip to content

Insecure use of unauthenticated encryption - potential message forgery/plaintext recovery #14

@tarcieri

Description

@tarcieri

This gem uses unauthenticated AES-CBC encryption:

https://github.com/chicks/aes/blob/master/lib/aes/aes.rb#L126

AES-CBC is not an authenticated encryption mode and is vulnerable to chosen ciphertext attacks including message forgery and potentially plaintext recovery.

At the very least, AES-GCM should be the default mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions