Skip to content

fix: relax reference url type#16

Merged
binareio merged 1 commit intobinareio:mainfrom
l4rm4nd:patch-2
Dec 31, 2024
Merged

fix: relax reference url type#16
binareio merged 1 commit intobinareio:mainfrom
l4rm4nd:patch-2

Conversation

@l4rm4nd
Copy link
Copy Markdown
Contributor

@l4rm4nd l4rm4nd commented Dec 18, 2024

This change can fix #15.

However, it also introduces the possibility for unvalidated reference urls. So if there are other applications pulling data from the API, it may happen that untrusted data is returned.

However, according to OWASP, one should never trust data from remote origins. So other applications relying on fastcve should execute their own validations too.

This change can fix binareio#15.

However, it also introduces the possibility for unvalidated reference urls. So if there are other applications pulling data from the API, it may happen that untrusted data is returned.

However, according to OWASP, one should never trust data from remote origins. So other applications relying on fastcve should execute their own validations too.
@binareio
Copy link
Copy Markdown
Owner

I agree with the proposed change, and it will also unify how command-line and API search results handle invalid URLs.

@binareio binareio merged commit 3c5fca8 into binareio:main Dec 31, 2024
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.

Bogus Reference URLs lead to Internal Server Error

2 participants