AWS logo
Amazon QDetector LibrarySign in to Amazon Q
AWSbreadcrumb dividerDocumentationbreadcrumb dividerAmazon Qbreadcrumb dividerDetector Librarybreadcrumb dividerRubybreadcrumb dividerInsufficient Key SizeFeedbackFeedback icon

Amazon Q

Detector Library

Ruby detectors (29/29)

SQL InjectionDivide by ZeroSensitive HTTP ActionInsufficient Protected CredentialsSensitive Information LeakCross-Site Request Forgery (CSRF)Untrusted DeserializationLog InjectionXML External EntityPath InjectionDeprecated Get ConfigurationHttp to File AccessInsufficient Key SizeCode InjectionOS Command InjectionInsecure CookieResource leakCross Site Scripting (XSS)Untrusted OpenModel Attr AccessibleServer Side Request ForgeryImproper Input ValidationStack Trace ExposureOpen RedirectImproper Certificate Validationsend_file InjectionUnsafe File PermissionsInsecure CryptographyTainted Format

Insufficient Key Size High

Ensure the use of adequately sized RSA keys for secure cryptographic operations. Consider using key sizes of at least 2048 bits to enhance the strength of RSA encryption. Inadequate key sizes may expose your application to potential vulnerabilities.

Detector ID
ruby/insufficient-key-size@v1.0
Category
Security
Common Weakness Enumeration (CWE) external icon
CWE-326
Tags
-