./devel/ruby-globalid, Reference models by URI

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2022Q4, Version: 1.0.1, Package name: ruby31-globalid-1.0.1, Maintainer: minskim

A Global ID is an app wide URI that uniquely identifies a model
instance. This is helpful when you need a single identifier to
reference different classes of objects. One example is job
scheduling. We need to reference a model object rather than serialize
the object itself. We can pass a Global ID that can be used to locate
the model when it's time to perform the job. The job scheduler doesn't
need to know the details of model naming and IDs, just that it has a
global identifier that references a model. Another example is a
drop-down list of options, consisting of both Users and
Groups. Normally we'd need to come up with our own ad hoc scheme to
reference them. With Global IDs, we have a universal identifier that
works for objects of both classes.


Master sites:

Filesize: 13.5 KB

Version history: (Expand)


CVS history: (Expand)


   2023-03-04 14:26:59 by S.P.Zeidler | Files touched by this commit (2) | Package updated
Log message:
Pullup ticket #6729 - requested by taca
devel/ruby-globalid: security update

Revisions pulled up:
- devel/ruby-globalid/Makefile                                  1.14
- devel/ruby-globalid/distinfo                                  1.8

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Thu Jan 19 13:58:19 UTC 2023

   Modified Files:
   	pkgsrc/devel/ruby-globalid: Makefile distinfo

   Log message:
   devel/ruby-globalid: update to 1.0.1

   1.0.1 (2023-01-17)

   Possible ReDoS based DoS vulnerability in GlobalID

   There is a ReDoS based DoS vulnerability in the GlobalID gem.  This
   vulnerability has been assigned the CVE identifier CVE-2023-22799.

   Versions Affected: >= 0.2.1
   Not affected: NOTAFFECTED
   Fixed Versions: 1.0.1

   Impact

   There is a possible DoS vulnerability in the model name parsing section of
   the GlobalID gem.  Carefully crafted input can cause the regular expression
   engine to take an unexpected amount of time.  All users running an affected
   release should either upgrade or use one of the workarounds immediately.

   Releases

   The FIXED releases are available at the normal locations.

   Workarounds

   There are no feasible workarounds for this issue.

   Credits

   Thank you ooooooo_k for reporting this!

   To generate a diff of this commit:
   cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/ruby-globalid/Makefile
   cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/ruby-globalid/distinfo