Skip to content

chore: fixing CWE-117 and CWE-93 - #59

Merged
hrai-nr merged 5 commits into
mainfrom
cwe_fixes
Sep 1, 2026
Merged

hrai-nr merged 5 commits into
mainfrom
cwe_fixes

Conversation

@hrai-nr

@hrai-nr hrai-nr commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

This PR is for releasing fix for CWE-117 and CWE-93.
CWE-117: (Improper Output Neutralization for Logs) is a security vulnerability that happens when an application writes unverified user input directly into log files without removing hidden line-break characters

CWE-93: CWE-93 is a software security vulnerability known as Improper Neutralization of CRLF Sequences ('CRLF Injection'), which happens when an app fails to clean carriage return and line feed characters from user input.

How to reproduce this error:

  1. Enabled Amazon Inspector in a region.
  2. Installed the unified-lambda in that particular region.
  3. Once the inspector is inspecting, it will find this vulnerability.
  4. Made the code changes accordingly.

Testing:
Build and deployed new code changes and checked that amazon inspector is not finding the CWEs in newly created lambda.

nikhil31sai
nikhil31sai previously approved these changes Sep 1, 2026
@hrai-nr hrai-nr changed the title fixing cwes chore: fixing CWE-117 and CWE-93 Sep 1, 2026
Comment thread lambda-template.yaml Resolved
@maya-jha

maya-jha commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Add some details about CWEs also.

@hrai-nr
hrai-nr merged commit 86fe30c into main Sep 1, 2026
81 of 86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants