Error messages are revealing absolute file paths #171
Closed
crowdwave
announced in
Announcements
Replies: 1 comment
-
file urls always contain absolute paths. even if the display string in error message is changed that does not solve the purpose; some one could load arbitrary file from your system by using {
"$ref": "file:///path/to/secret/file"
} so the correct solution is use custom loader with custom url scheme say you have all schemas in some directory you can use custom url like use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
The error output seems to be revealing absolute file path information of the system that it is running on which is not ideal from a security perspective.
Is it possible to reveal only the relative file path?
Beta Was this translation helpful? Give feedback.
All reactions