Code Monkey home page Code Monkey logo

plate's People

Contributors

adititipnis avatar akhilgkrishnan avatar alkesh26 avatar dependabot-preview[bot] avatar dependabot[bot] avatar prateekkish avatar puneet-sutar avatar rkr090 avatar rommehta30 avatar vipulnsward avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plate's Issues

Upgrade rails to 6.0.3.1

This version fixes some CVE's.

Example:
Remediation
Upgrade activesupport to version 6.0.3.1 or later. For example:

gem "activesupport", ">= 6.0.3.1"
Always verify the validity and compatibility of suggestions with your codebase.

Details
CVE-2020-8165
high severity
Vulnerable versions: >= 6.0.0, <= 6.0.3
Patched version: 6.0.3.1
In ActiveSupport, there is potentially unexpected behaviour in the MemCacheStore and RedisCacheStore where, when
untrusted user input is written to the cache store using the raw: true parameter, re-reading the result
from the cache can evaluate the user input as a Marshalled object instead of plain text. Vulnerable code looks like:

data = cache.fetch("demo", raw: true) { untrusted_string }
Impact
Unmarshalling of untrusted user input can have impact up to and including RCE. At a minimum,
this vulnerability allows an attacker to inject untrusted Ruby objects into a web application.
In addition to upgrading to the latest versions of Rails, developers should ensure that whenever
they are calling Rails.cache.fetch they are using consistent values of the raw parameter for both
reading and writing, especially in the case of the RedisCacheStore which does not, prior to these changes,
detect if data was serialized using the raw option upon deserialization.

Workarounds
It is recommended that application developers apply the suggested patch or upgrade to the latest release as
soon as possible. If this is not possible, we recommend ensuring that all user-provided strings cached using
the raw argument should be double-checked to ensure that they conform to the expected format.

Understand and setup this repo.

  1. Figure out the dependencies and install them so that you are able to run the project on you local.(Ex. You will need to install PG and Redis)
  2. Updated the read me and send a PR.

Versions on Plate

  • Basic version
  • Payments version
    E-Commerce:
  • Add products listing
  • Add products show page
  • Add cart
  • Buy and settings for Stripe
  • Recurring payments(Future)

Pre commit hook failure

Issue:
On committing the changes to the branch, the following error is observed

husky > pre-commit (node v10.15.3)
  ↓ Stashing changes... [skipped]
    → No partially staged files found...
  ❯ Running linters...
    ↓ Running tasks for app/**/*.{js.jsx,js,es6,jsx,scss,css} [skipped]
      → No staged files match app/**/*.{js.jsx,js,es6,jsx,scss,css}
    ❯ Running tasks for {app,test,features,lib}/**/*.{rb,rake,jbuilder}
      ✖ bundle exec rubocop -a
        git add

✖ bundle exec rubocop -a found some errors. Please fix them and try committing again.

Bundler 2 requires Ruby 2.3 or later. Either install bundler 1 or update to a supported Ruby version.
husky > pre-commit hook failed (add --no-verify to bypass)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.