Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Rewrite yaml loader" #13805

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Revert "Rewrite yaml loader" #13805

merged 1 commit into from
Sep 17, 2024

Conversation

hawkeye217
Copy link
Collaborator

@hawkeye217 hawkeye217 commented Sep 17, 2024

Copy link

netlify bot commented Sep 17, 2024

Deploy Preview for frigate-docs ready!

Name Link
🔨 Latest commit 8994edd
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/66e9ee24f7d7d800086a771d
😎 Deploy Preview https://deploy-preview-13805--frigate-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Sponsor Collaborator

@NickM-27 NickM-27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NickM-27 NickM-27 merged commit ff9e1da into dev Sep 17, 2024
13 checks passed
@NickM-27 NickM-27 deleted the revert-13803-yaml-loader branch September 17, 2024 21:03
@gtsiam
Copy link
Contributor

gtsiam commented Sep 18, 2024

Unsafe deserialization

You wot mate? Man, I love code scanners. Also this config can define arbitrary commands to execute. RCE from yaml deserialization is the list of our concerns.

That said, I was thinking of switching it to ruamel.yaml anyway to support editing the config file without dropping comments. Todo when I'm at my computer. On second thought, might be better to not bother and eventually have frigate store things like camera groups (that have UI access) in the db, so that the config is read-only.

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